diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-03-13 23:43:05 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-03-13 23:43:05 +0000 |
commit | 60c7c37625c1319676afd4f8aba8b1b092024c5f (patch) | |
tree | 341115a12f7c05f338b41163b6c841f471273d9f /gdb/tracepoint.c | |
parent | 4369e92453f6ce5cc83a4080fee19f41412eb58f (diff) | |
download | gdb-60c7c37625c1319676afd4f8aba8b1b092024c5f.zip gdb-60c7c37625c1319676afd4f8aba8b1b092024c5f.tar.gz gdb-60c7c37625c1319676afd4f8aba8b1b092024c5f.tar.bz2 |
Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/m68k/xm-sun3os4.h: Remove malloc declarations, they
are handled via autoconf now.
* remote.c (remote_ops, extended_remote_ops): Replace static
forward declaration by moving the static definition to the top of
the file, for old K&R compilers.
* tracepoint.c (collect_symbol, trace_start_command):
Replace ANSI string concatenation with K&R compatible simple string.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index e77f103..cd809ff 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1198,8 +1198,7 @@ collect_symbol (collect, sym) case LOC_STATIC: offset = SYMBOL_VALUE_ADDRESS (sym); if (info_verbose) - printf_filtered ("LOC_STATIC %s: collect %d bytes " - "at 0x%08x\n", + printf_filtered ("LOC_STATIC %s: collect %d bytes at 0x%08x\n", SYMBOL_NAME (sym), len, offset); add_memrange (collect, -1, offset, len); /* 0 == memory */ break; @@ -1550,16 +1549,16 @@ trace_start_command (args, from_tty) if (tdp_actions) { if (strlen (buf) + strlen (tdp_actions) >= sizeof (buf)) - error ("Actions for tracepoint %d too complex; " - "please simplify.", t->number); + error ("Actions for tracepoint %d too complex; please simplify.", + t->number); strcat (buf, tdp_actions); } if (stepping_actions) { strcat (buf, "S"); if (strlen (buf) + strlen (stepping_actions) >= sizeof (buf)) - error ("Actions for tracepoint %d too complex; " - "please simplify.", t->number); + error ("Actions for tracepoint %d too complex; please simplify.", + t->number); strcat (buf, stepping_actions); } } |