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.
This commit is contained in:
parent
4369e92453
commit
60c7c37625
|
@ -1,3 +1,18 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
1998-03-11 Fred Fish <fnf@ninemoons.com>
|
||||||
|
|
||||||
|
* source.c (select_source_symtab): Don't reach error if we have
|
||||||
|
a current_source_symtab from reading in partial symbol table.
|
||||||
|
|
||||||
start-sanitize-vr4320
|
start-sanitize-vr4320
|
||||||
Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
|
Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include "m68k/xm-sun3.h"
|
#include "m68k/xm-sun3.h"
|
||||||
#define FPU
|
#define FPU
|
||||||
|
|
||||||
/* Prevent type conflicts between yacc malloc decls and defs.h */
|
|
||||||
#define MALLOC_INCOMPATIBLE
|
|
||||||
extern char *malloc();
|
|
||||||
extern char *realloc();
|
|
||||||
extern void free();
|
|
||||||
|
|
|
@ -1198,8 +1198,7 @@ collect_symbol (collect, sym)
|
||||||
case LOC_STATIC:
|
case LOC_STATIC:
|
||||||
offset = SYMBOL_VALUE_ADDRESS (sym);
|
offset = SYMBOL_VALUE_ADDRESS (sym);
|
||||||
if (info_verbose)
|
if (info_verbose)
|
||||||
printf_filtered ("LOC_STATIC %s: collect %d bytes "
|
printf_filtered ("LOC_STATIC %s: collect %d bytes at 0x%08x\n",
|
||||||
"at 0x%08x\n",
|
|
||||||
SYMBOL_NAME (sym), len, offset);
|
SYMBOL_NAME (sym), len, offset);
|
||||||
add_memrange (collect, -1, offset, len); /* 0 == memory */
|
add_memrange (collect, -1, offset, len); /* 0 == memory */
|
||||||
break;
|
break;
|
||||||
|
@ -1550,16 +1549,16 @@ trace_start_command (args, from_tty)
|
||||||
if (tdp_actions)
|
if (tdp_actions)
|
||||||
{
|
{
|
||||||
if (strlen (buf) + strlen (tdp_actions) >= sizeof (buf))
|
if (strlen (buf) + strlen (tdp_actions) >= sizeof (buf))
|
||||||
error ("Actions for tracepoint %d too complex; "
|
error ("Actions for tracepoint %d too complex; please simplify.",
|
||||||
"please simplify.", t->number);
|
t->number);
|
||||||
strcat (buf, tdp_actions);
|
strcat (buf, tdp_actions);
|
||||||
}
|
}
|
||||||
if (stepping_actions)
|
if (stepping_actions)
|
||||||
{
|
{
|
||||||
strcat (buf, "S");
|
strcat (buf, "S");
|
||||||
if (strlen (buf) + strlen (stepping_actions) >= sizeof (buf))
|
if (strlen (buf) + strlen (stepping_actions) >= sizeof (buf))
|
||||||
error ("Actions for tracepoint %d too complex; "
|
error ("Actions for tracepoint %d too complex; please simplify.",
|
||||||
"please simplify.", t->number);
|
t->number);
|
||||||
strcat (buf, stepping_actions);
|
strcat (buf, stepping_actions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue