diff -C2 -r -b gdb_cvs/src/gdb/remote.c gdb_altered/src/gdb/remote.c *** gdb_cvs/src/gdb/remote.c Fri Nov 15 10:53:54 2002 --- gdb_altered/src/gdb/remote.c Thu Jan 2 16:01:06 2003 *************** *** 4840,4845 **** ! int remote_hw_watchpoint_limit = 0; ! int remote_hw_breakpoint_limit = 0; int --- 4840,4845 ---- ! static int remote_hw_watchpoint_limit = 0; ! static int remote_hw_breakpoint_limit = 0; int *************** *** 6153,6156 **** --- 6153,6172 ---- &showlist); + add_show_from_set + (add_set_cmd ("remote-hw-breakpoints-available", class_obscure, + var_integer, (char *) &remote_hw_breakpoint_limit, + "Set the maximum number of hardware breakpoints \ + supported by the target.\n",\ + &setlist), + &showlist); + + add_show_from_set + (add_set_cmd ("remote-hw-watchpoints-available", class_obscure, + var_integer, (char *) &remote_hw_watchpoint_limit, + "Set the maximum number of hardware watchpoints \ + supported by the target.\n",\ + &setlist), + &showlist); + add_packet_config_cmd (&remote_protocol_binary_download, "X", "binary-download",