From 59813131fdd2acbcb2de2633f49f7eb27e93c433 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 29 Apr 1998 00:42:28 +0000 Subject: [PATCH] Tue Apr 28 17:41:20 1998 Philippe De Muyter * symfile.c (overlay_auto_command): Add forgotten parameter definitions. (overlay_manual_command, overlay_off_command): Likewise. (overlay_load_command): Likewise. * tracepoint.c (memrange_cmp): Parameters have type void *, not struct memrange *. --- gdb/ChangeLog | 37 +++++++++++++++++++++++-------------- gdb/tracepoint.c | 9 +++++++-- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c9e34307758..a728c7fd228 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,14 @@ +Tue Apr 28 17:41:20 1998 Philippe De Muyter + + * symfile.c (overlay_auto_command): Add forgotten parameter definitions. + (overlay_manual_command, overlay_off_command): Likewise. + (overlay_load_command): Likewise. + * tracepoint.c (memrange_cmp): Parameters have type void *, not + struct memrange *. + Tue Apr 28 11:08:25 1998 John Metzler - * rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds + * rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds. Mon Apr 27 14:32:21 1998 Mark Alexander @@ -15,19 +23,20 @@ Mon Apr 27 14:32:21 1998 Mark Alexander Mon Apr 27 13:46:40 1998 John Metzler - * rom68k-rom.c (_initialize_rom68k init_rom68k_cmds): - * abug-rom.c (_initialize_abug_rom init_abug-cmds): - * cpu32bug-rom.c (_initialize_cpu32bug_rom init_cpu32bug_cmds): - * mon960-rom.c (initialize_mon960 init_mon960_cmds): - * op50-rom.c (initialize_op50n init_op50n_cmds) : - * ppcbug-rom.c (_initialize_ppcbug_rom init_ppc_cmds) : - * sh3-rom.c (_initialize_sh3_rom init_sh3_cmds) : - * sparclet-rom.c (_initialize_sparcletinit_sparclet_cmds ) : - * remote-est.c ( _initialize_est init_est_cmds) : - * remote-hms.c ( _initialize_remote_hms init_hms_cmds) : - Convert all static initializations of monitor ops structures to - executable initializations in order that additions to the data structure - definition can be made without repeating this editing exercise. + * rom68k-rom.c (_initialize_rom68k, init_rom68k_cmds): + Convert all static initializations of monitor ops structures to + executable initializations in order that additions to the data + structure definition can me made without repeating this editing + exercise. + * abug-rom.c (_initialize_abug_rom, init_abug-cmds): Ditto. + * cpu32bug-rom.c (_initialize_cpu32bug_rom, init_cpu32bug_cmds): Ditto. + * mon960-rom.c (initialize_mon960, init_mon960_cmds): Ditto. + * op50-rom.c (initialize_op50n, init_op50n_cmds): Ditto. + * ppcbug-rom.c (_initialize_ppcbug_rom, init_ppc_cmds): Ditto. + * sh3-rom.c (_initialize_sh3_rom, init_sh3_cmds): Ditto. + * sparclet-rom.c (_initialize_sparclet, init_sparclet_cmds): Ditto. + * remote-est.c (_initialize_est, init_est_cmds): Ditto. + * remote-hms.c ( _initialize_remote_hms, init_hms_cmds): Ditto. Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com) diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 468324d5e58..04feb654e4c 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1086,9 +1086,14 @@ parse_and_eval_memrange (arg, addr, typecode, offset, size) /* compare memranges for qsort */ static int -memrange_cmp (a, b) - struct memrange *a, *b; +memrange_cmp (voidpa, voidpbb) + void *voidpa, *voidpb; { + struct memrange *a, *b; + + a = (struct memrange *) voidpa; + b = (struct memrbnge *) voidpb; + if (a->type < b->type) return -1; if (a->type > b->type) return 1; if (a->type == 0) -- 2.30.2