mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 06:15:09 +08:00
* breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
target null pointer. * blockframe.c (find_frame_addr_in_frame_chain): Likewise. * printcmd.c (output_command): Annotate things we print here too. * Move declaration of print_value_flags from defs.h to value.h. * main.c (command_line_input): Call wrap_here as well as gdb_flush.
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
Thu Apr 21 07:45:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
|
||||||
|
target null pointer.
|
||||||
|
* blockframe.c (find_frame_addr_in_frame_chain): Likewise.
|
||||||
|
|
||||||
|
* printcmd.c (output_command): Annotate things we print here too.
|
||||||
|
* Move declaration of print_value_flags from defs.h to value.h.
|
||||||
|
* main.c (command_line_input): Call wrap_here as well as gdb_flush.
|
||||||
|
|
||||||
Thu Apr 21 09:29:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Thu Apr 21 09:29:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,
|
* dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,
|
||||||
|
@ -2238,7 +2238,7 @@ watch_command (arg, from_tty)
|
|||||||
b->watchpoint_frame = FRAME_FP (frame);
|
b->watchpoint_frame = FRAME_FP (frame);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
b->watchpoint_frame = NULL;
|
b->watchpoint_frame = (CORE_ADDR)0;
|
||||||
|
|
||||||
if (can_use_hardware_watchpoint (b))
|
if (can_use_hardware_watchpoint (b))
|
||||||
b->type = bp_hardware_watchpoint;
|
b->type = bp_hardware_watchpoint;
|
||||||
|
@ -219,9 +219,6 @@ query ();
|
|||||||
/* Annotation stuff. */
|
/* Annotation stuff. */
|
||||||
|
|
||||||
extern int annotation_level; /* in stack.c */
|
extern int annotation_level; /* in stack.c */
|
||||||
|
|
||||||
/* in printcmd.c */
|
|
||||||
extern void print_value_flags PARAMS ((struct type *));
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
begin_line PARAMS ((void));
|
begin_line PARAMS ((void));
|
||||||
|
@ -1730,10 +1730,9 @@ command_line_input (prrompt, repeat)
|
|||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* Reports are that some Sys V's don't flush gdb_stdout/err on reads
|
/* Make sure that all output has been output. Some machines may let
|
||||||
from stdin, when stdin/out are sockets rather than ttys. So we
|
you get away with leaving out some of the gdb_flush, but not all. */
|
||||||
have to do it ourselves, to make emacs-gdb and xxgdb work.
|
wrap_here ("");
|
||||||
On other machines, doing this once per input should be a cheap nop. */
|
|
||||||
gdb_flush (gdb_stdout);
|
gdb_flush (gdb_stdout);
|
||||||
gdb_flush (gdb_stderr);
|
gdb_flush (gdb_stderr);
|
||||||
|
|
||||||
|
@ -839,6 +839,9 @@ print_command_1 (exp, inspect, voidprint)
|
|||||||
else
|
else
|
||||||
if (histindex >= 0) printf_filtered ("$%d = ", histindex);
|
if (histindex >= 0) printf_filtered ("$%d = ", histindex);
|
||||||
|
|
||||||
|
if (annotation_level > 1 && histindex >= 0)
|
||||||
|
printf_filtered ("\n\032\032value-history-value\n");
|
||||||
|
|
||||||
print_formatted (val, format, fmt.size);
|
print_formatted (val, format, fmt.size);
|
||||||
printf_filtered ("\n");
|
printf_filtered ("\n");
|
||||||
|
|
||||||
@ -915,8 +918,18 @@ output_command (exp, from_tty)
|
|||||||
|
|
||||||
val = evaluate_expression (expr);
|
val = evaluate_expression (expr);
|
||||||
|
|
||||||
|
if (annotation_level > 1)
|
||||||
|
{
|
||||||
|
printf_filtered ("\n\032\032value-begin ");
|
||||||
|
print_value_flags (VALUE_TYPE (val));
|
||||||
|
printf_filtered ("\n");
|
||||||
|
}
|
||||||
|
|
||||||
print_formatted (val, format, fmt.size);
|
print_formatted (val, format, fmt.size);
|
||||||
|
|
||||||
|
if (annotation_level > 1)
|
||||||
|
printf_filtered ("\n\032\032value-end\n");
|
||||||
|
|
||||||
do_cleanups (old_chain);
|
do_cleanups (old_chain);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user