This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Saturday, April 16, 2011 07:35:17 Richard Earnshaw wrote: > On 15/04/11 04:20, Mike Frysinger wrote: > > sim/: > > 2011-04-07 Mike Frysinger <vapier@gentoo.org> > > > > * sim-options.c (complete_option_list, sim_complete_command): > > New functions. > > This breaks building gdb for arm-eabi. > > /home/rearnsha/gnusrc/gcc-cross/git/gdb/remote-sim.c:1205: undefined > reference to `sim_complete_command' > > Note the ARM simulator doesn't use most of the sim/common infrastructure. blah, i sometimes forget many sims live in the past. ive added stubs to a bunch of arches in the following patch. these targets pass for me now: arm avr bfin cr16 cris frv h8300 iq2000 lm32 m32c m32r m68hc11 microblaze mips mn10300 moxie ppc rx sh sh64 v850 2011-04-16 Mike Frysinger <vapier@gentoo.org> * wrapper.c (sim_complete_command): New stub function. --- arm/wrapper.c +++ arm/wrapper.c @@ -940,3 +940,9 @@ sim_set_callbacks (ptr) { sim_callback = ptr; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} 2011-04-16 Mike Frysinger <vapier@gentoo.org> * interp.c (sim_complete_command): New stub function. --- avr/interp.c +++ avr/interp.c @@ -1853,3 +1853,9 @@ sim_set_callbacks (host_callback *ptr) { callback = ptr; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} 2011-04-16 Mike Frysinger <vapier@gentoo.org> * gdb-if.c (sim_complete_command): New stub function. --- m32c/gdb-if.c +++ m32c/gdb-if.c @@ -703,3 +703,9 @@ sim_do_command (SIM_DESC sd, char *cmd) printf ("The 'sim' command expects either 'trace' or 'verbose'" " as a subcommand.\n"); } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} 2011-04-16 Mike Frysinger <vapier@gentoo.org> * interp.c (sim_complete_command): New stub function. --- microblaze/interp.c +++ microblaze/interp.c @@ -1089,3 +1089,9 @@ sim_set_callbacks (host_callback *ptr) { callback = ptr; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} 2011-04-16 Mike Frysinger <vapier@gentoo.org> * sim_calls.c (sim_complete_command): New stub function. --- ppc/sim_calls.c +++ ppc/sim_calls.c @@ -259,6 +259,11 @@ sim_do_command (SIM_DESC sd, char *cmd) } } +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} /* Polling, if required */ 2011-04-16 Mike Frysinger <vapier@gentoo.org> * gdb-if.c (sim_complete_command): New stub function. --- rx/gdb-if.c +++ rx/gdb-if.c @@ -862,3 +862,9 @@ sim_do_command (SIM_DESC sd, char *cmd) printf ("The 'sim' command expects either 'trace' or 'verbose'" " as a subcommand.\n"); } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} 2011-04-16 Mike Frysinger <vapier@gentoo.org> * interp.c (sim_complete_command): New stub function. --- sh/interp.c +++ sh/interp.c @@ -2787,3 +2787,9 @@ sim_set_callbacks (p) { callback = p; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +}
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |