This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Whack TARGET_REDEFINE_DEFAULT_OPS
- From: Stan Shebs <stan at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 14 Jul 2008 12:02:55 -0700
- Subject: Whack TARGET_REDEFINE_DEFAULT_OPS
The macro TARGET_REDEFINE_DEFAULT_OPS in remote-sim.c is a leftover from
a long-forgotten Cygnus project. It's remotely possible that someone can
think of a use for it, so I'm posting instead of simply committing the
removal as obvious.
Stan
2008-07-14 Stan Shebs <stan@codesourcery.com>
* remote-sim.c (init_gdbsim_ops): Remove
TARGET_REDEFINE_DEFAULT_OPS.
Index: remote-sim.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-sim.c,v
retrieving revision 1.73
diff -p -r1.73 remote-sim.c
*** remote-sim.c 10 Jul 2008 19:34:00 -0000 1.73
--- remote-sim.c 14 Jul 2008 18:58:43 -0000
*************** init_gdbsim_ops (void)
*** 926,935 ****
gdbsim_ops.to_has_registers = 1;
gdbsim_ops.to_has_execution = 1;
gdbsim_ops.to_magic = OPS_MAGIC;
-
- #ifdef TARGET_REDEFINE_DEFAULT_OPS
- TARGET_REDEFINE_DEFAULT_OPS (&gdbsim_ops);
- #endif
}
void
--- 926,931 ----