prevent the "load" command from repeating
This makes sure that the `load' command does not repeat when the user presses Return again, as documented in the GDB User's Manual. gdb/ChangeLog: * symfile.c (find_sym_fns): Add call to dont_repeat.
This commit is contained in:
parent
8a541dfccf
commit
e5cc9f32cd
|
@ -1,3 +1,7 @@
|
|||
2011-01-03 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* symfile.c (find_sym_fns): Add call to dont_repeat.
|
||||
|
||||
2011-01-01 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Copyright year update in most files (performed by copyright.sh).
|
||||
|
|
|
@ -1742,6 +1742,8 @@ find_sym_fns (bfd *abfd)
|
|||
static void
|
||||
load_command (char *arg, int from_tty)
|
||||
{
|
||||
dont_repeat ();
|
||||
|
||||
/* The user might be reloading because the binary has changed. Take
|
||||
this opportunity to check. */
|
||||
reopen_exec_file ();
|
||||
|
|
Loading…
Reference in New Issue