Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command.
@ 2020-05-01 14:54 Philippe Waroquiers
  2020-05-02  4:02 ` Kevin Buettner
  0 siblings, 1 reply; 12+ messages in thread
From: Philippe Waroquiers @ 2020-05-01 14:54 UTC (permalink / raw)
  To: gdb-patches

The function info_command has disappeared, so this breakpoint does not
work anymore.
"info_command" was a function for the prefix command "info",
giving the list of "info" subcommands.
It is not very clear what the removed breakpoint and its associated
command list was supposed to do.

Removed and pushed as obvious, after discussion with Tom.
---
 gdb/ChangeLog      | 4 ++++
 gdb/gdb-gdb.gdb.in | 6 ------
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4f3b2680bb..ee4f3a74c0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-05-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+	* gdb-gdb.gdb-in: Remove breakpoint on disappeared function
+	info_command.
+
 2020-04-30  Kamil Rytarowski  <n54@gmx.com>
 
 	* nbsd-nat.c (nbsd_enable_proc_events)
diff --git a/gdb/gdb-gdb.gdb.in b/gdb/gdb-gdb.gdb.in
index 05a38b2670..b647445e8c 100644
--- a/gdb/gdb-gdb.gdb.in
+++ b/gdb/gdb-gdb.gdb.in
@@ -7,12 +7,6 @@ if !$gdb_init_done
 
   b internal_error
 
-  b info_command
-  commands
-    silent
-    return
-  end
-
   dir @srcdir@/../libiberty
   dir @srcdir@/../bfd
   dir @srcdir@
-- 
2.20.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-05-04 21:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 14:54 [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command Philippe Waroquiers
2020-05-02  4:02 ` Kevin Buettner
2020-05-02 21:19   ` Maciej W. Rozycki
2020-05-02 23:01     ` Philippe Waroquiers
2020-05-02 23:57       ` Kevin Buettner
2020-05-03  0:13       ` Maciej W. Rozycki
2020-05-03  0:33         ` Simon Marchi
2020-05-03 11:03         ` Pedro Alves
2020-05-03 12:45         ` Philippe Waroquiers
2020-05-03 17:17     ` Tom Tromey
2020-05-03 18:33       ` Philippe Waroquiers
2020-05-04 21:21         ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox