diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-04-29 00:42:28 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-04-29 00:42:28 +0000 |
commit | 59813131fdd2acbcb2de2633f49f7eb27e93c433 (patch) | |
tree | cfdfa6c30743615097ee45206a19000864b5657b /gdb/tracepoint.c | |
parent | f9c384055563339636ebf83e653b27dc9c411a9e (diff) | |
download | ppe42-binutils-59813131fdd2acbcb2de2633f49f7eb27e93c433.tar.gz ppe42-binutils-59813131fdd2acbcb2de2633f49f7eb27e93c433.zip |
Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>
* 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 *.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 468324d5e5..04feb654e4 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) |