This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Zap redundnt call to build_infrun()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 22 Jun 2002 18:01:55 -0400
- Subject: [patch] Zap redundnt call to build_infrun()
FYI,
Recent changes to the way GDB starts have made calls like this unnecessary.
committed,
Andrew
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* infrun.c (_initialize_infrun): Delete unnecessary call to
build_infrun.
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.59
diff -u -r1.59 infrun.c
--- infrun.c 10 Jun 2002 23:25:50 -0000 1.59
+++ infrun.c 22 Jun 2002 21:28:17 -0000
@@ -4183,8 +4183,6 @@
register int numsigs;
struct cmd_list_element *c;
- build_infrun ();
-
register_gdbarch_swap (&stop_registers, sizeof (stop_registers), NULL);
register_gdbarch_swap (NULL, 0, build_infrun);