* breakpoint.c (breakpoint_re_set): #ifdef GET_LONGJMP_TARGET

around calls to create_longjmp_breakpoint.  Why install the
	breakpoints if we can't find the longjmp target?
	* infrun.c (wait_for_inferior):  Cleanup comments near call test.
	* remote-mips.c:  Fixed a bunch of prototypes to avoid char/int
	complaint from picky compilers.  Add comment to mips_expect.
	Replace all instances of sr_get_debug with remote_debug.
	* (mips_readchar):  Don't jam init string to monitor.
	mips_initialize() handles that.
	* (mips_receive_header):  Print better message when we get too
	much garbage.
	* (mips_request):  Allow caller to pass in buff to allow them to
	analyze the returned message.
	* (mips_initialize):  Re-do initialization to try sending a BREAK,
	a ^C, and then a download escape sequence.  Cleanup protocol
	startup.  Eliminate sleeps.  Clear breakpoints (if using monitor
	breakpoints).  Re-init frame.
	* (mips_detach):  Close down target.
start-sanitize-gm
	* (mips_resume):  Pass signal down to target.
	* (mips_create_inferior):  Start target with TARGET_SIGNAL_PWR.
end-sanitize-gm
	* (mips_wait):  Handle return status with registers, or breakpoint stuff.
	* (mips_kill):  Add ^C handling.
	* (mips_insert_breakpoint mips_remove_breakpoint):  Call new
	breakpoint stuff if enabled.
	* (calculate_mask remote_mips_set_watchpoint
	remote_mips_remove_watchpoint remote_mips_stopped_by_watchpoint):
	Hardware watchpoint/breakpoint stuff.
	* (common_breakpoint):  Common code for new monitor breakpoint commands.
	* (mips_load):  Don't use `prompt'.  It's a global variable.
	* top.c (dont_repeat_command):  New command for use in
	user-defined commands to suppress auto-repeat (by hittin return key).
start-sanitize-gm
	* utils.c (request_quit):  Call target_kill here.  Good idea.
	Needs a better implementation.
end-sanitize-gm
	* valops.c:  Add start of auto function-call abandonment capability.

start-sanitize-gm
	* c-exp.y:  Add code (currently disabled) to handle GM dynamic
	structures (it conflicts with @!).
	* eval.c (evaluate_subexp_standard):  ditto.
	* expprint.c (print_subexp dump_expression):  ditto.
	* expression.h (enum exp_opcode):  ditto.
	* parse.c (length_of_subexp):  ditto.
	* configure, configure.in:  Add mip*-*-magic* target.
	* magic.c magic.h:  Special routines to handle GM stuff (like
	stepping through dispatcher).
end-sanitize-gm
This commit is contained in:
Stu Grossman 1995-10-27 17:48:36 +00:00
parent d6d44ef984
commit cd10c7e388
15 changed files with 1235 additions and 215 deletions

View file

@ -602,6 +602,12 @@ request_quit (signo)
about USG defines and stuff like that. */
signal (signo, request_quit);
/* start-sanitize-gm */
#ifdef GENERAL_MAGIC_HACKS
target_kill ();
#endif /* GENERAL_MAGIC_HACKS */
/* end-sanitize-gm */
#ifdef REQUEST_QUIT
REQUEST_QUIT;
#else
@ -1508,7 +1514,7 @@ vfprintf_maybe_filtered (stream, format, args, filter)
void
vfprintf_filtered (stream, format, args)
FILE *stream;
char *format;
const char *format;
va_list args;
{
vfprintf_maybe_filtered (stream, format, args, 1);
@ -1517,7 +1523,7 @@ vfprintf_filtered (stream, format, args)
void
vfprintf_unfiltered (stream, format, args)
FILE *stream;
char *format;
const char *format;
va_list args;
{
char *linebuffer;
@ -1536,7 +1542,7 @@ vfprintf_unfiltered (stream, format, args)
void
vprintf_filtered (format, args)
char *format;
const char *format;
va_list args;
{
vfprintf_maybe_filtered (gdb_stdout, format, args, 1);
@ -1544,7 +1550,7 @@ vprintf_filtered (format, args)
void
vprintf_unfiltered (format, args)
char *format;
const char *format;
va_list args;
{
vfprintf_unfiltered (gdb_stdout, format, args);
@ -1553,7 +1559,7 @@ vprintf_unfiltered (format, args)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
fprintf_filtered (FILE *stream, char *format, ...)
fprintf_filtered (FILE *stream, const char *format, ...)
#else
fprintf_filtered (va_alist)
va_dcl
@ -1577,7 +1583,7 @@ fprintf_filtered (va_alist)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
fprintf_unfiltered (FILE *stream, char *format, ...)
fprintf_unfiltered (FILE *stream, const char *format, ...)
#else
fprintf_unfiltered (va_alist)
va_dcl
@ -1604,7 +1610,7 @@ fprintf_unfiltered (va_alist)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
fprintfi_filtered (int spaces, FILE *stream, char *format, ...)
fprintfi_filtered (int spaces, FILE *stream, const char *format, ...)
#else
fprintfi_filtered (va_alist)
va_dcl
@ -1633,7 +1639,7 @@ fprintfi_filtered (va_alist)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
printf_filtered (char *format, ...)
printf_filtered (const char *format, ...)
#else
printf_filtered (va_alist)
va_dcl
@ -1656,7 +1662,7 @@ printf_filtered (va_alist)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
printf_unfiltered (char *format, ...)
printf_unfiltered (const char *format, ...)
#else
printf_unfiltered (va_alist)
va_dcl
@ -1681,7 +1687,7 @@ printf_unfiltered (va_alist)
/* VARARGS */
void
#ifdef ANSI_PROTOTYPES
printfi_filtered (int spaces, char *format, ...)
printfi_filtered (int spaces, const char *format, ...)
#else
printfi_filtered (va_alist)
va_dcl
@ -1710,14 +1716,14 @@ printfi_filtered (va_alist)
void
puts_filtered (string)
char *string;
const char *string;
{
fputs_filtered (string, gdb_stdout);
}
void
puts_unfiltered (string)
char *string;
const char *string;
{
fputs_unfiltered (string, gdb_stdout);
}