forked from Imagelibrary/binutils-gdb
2011-01-08 Michael Snyder <msnyder@vmware.com>
* h8300-tdep.c: Comment cleanup, mostly periods and spaces. * hppa-hpux-tdep.c: Ditto. * hppa-linux-nat.c: Ditto. * hppa-linux-tdep.c: Ditto. * hppanbsd-tdep.c: Ditto. * hppa-tdep.c: Ditto. * hppa-tdep.h: Ditto. * hpux-thread.c: Ditto. * i386-cygwin-tdep.c: Ditto. * i386-darwin-nat.c: Ditto. * i386gnu-nat.c: Ditto. * i386-linux-nat.c: Ditto. * i386-linux-tdep.c: Ditto. * i386-nat.c: Ditto. * i386-nat.h: Ditto. * i386nbsd-tdep.c: Ditto. * i386-sol2-nat.c: Ditto. * i386-stub.c: Ditto. * i386-tdep.c: Ditto. * i386-tdep.h: Ditto. * i387-tdep.c: Ditto. * ia64-linux-nat.c: Ditto. * ia64-linux-tdep.c: Ditto. * ia64-tdep.c: Ditto. * infcall.c: Ditto. * infcall.h: Ditto. * infcmd.c: Ditto. * inferior.c: Ditto. * inferior.h: Ditto. * infloop.c: Ditto. * inflow.c: Ditto. * infrun.c: Ditto. * interps.c: Ditto. * interps.h: Ditto. * iq2000-tdep.c: Ditto. * irix5-nat.c: Ditto. * jit.c: Ditto. * jit.h: Ditto. * jv-exp.y: Ditto. * jv-lang.c: Ditto. * jv-lang.h: Ditto. * jv-typeprint.c: Ditto. * jv-valprint.c: Ditto. * language.c: Ditto. * language.h: Ditto. * linespec.c: Ditto. * linux-fork.c: Ditto. * linux-nat.c: Ditto. * linux-thread-db.c: Ditto. * lm32-tdep.c: Ditto.
This commit is contained in:
@@ -88,7 +88,7 @@ show_coerce_float_to_double_p (struct ui_file *file, int from_tty,
|
||||
the stack and restore the context to what as it was before the
|
||||
call.
|
||||
|
||||
The default is to stop in the frame where the signal was received. */
|
||||
The default is to stop in the frame where the signal was received. */
|
||||
|
||||
int unwind_on_signal_p = 0;
|
||||
static void
|
||||
@@ -264,7 +264,7 @@ find_function_addr (struct value *function, struct type **retval_type)
|
||||
else if (code == TYPE_CODE_INT)
|
||||
{
|
||||
/* Handle the case of functions lacking debugging info.
|
||||
Their values are characters since their addresses are char */
|
||||
Their values are characters since their addresses are char. */
|
||||
if (TYPE_LENGTH (ftype) == 1)
|
||||
funaddr = value_as_address (value_addr (function));
|
||||
else
|
||||
@@ -373,7 +373,7 @@ run_inferior_call (struct thread_info *call_thread, CORE_ADDR real_pc)
|
||||
|
||||
disable_watchpoints_before_interactive_call_start ();
|
||||
|
||||
/* We want stop_registers, please... */
|
||||
/* We want stop_registers, please... */
|
||||
call_thread->control.proceed_to_finish = 1;
|
||||
|
||||
if (target_can_async_p ())
|
||||
@@ -436,7 +436,7 @@ cleanup_delete_std_terminate_breakpoint (void *ignore)
|
||||
May fail to return, if a breakpoint or signal is hit
|
||||
during the execution of the function.
|
||||
|
||||
ARGS is modified to contain coerced values. */
|
||||
ARGS is modified to contain coerced values. */
|
||||
|
||||
struct value *
|
||||
call_function_by_hand (struct value *function, int nargs, struct value **args)
|
||||
@@ -549,7 +549,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
|
||||
If the generic dummy frame ends up empty (because nothing is
|
||||
pushed) GDB won't be able to correctly perform back traces.
|
||||
If a target is having trouble with backtraces, first thing to
|
||||
do is add FRAME_ALIGN() to the architecture vector. If that
|
||||
do is add FRAME_ALIGN() to the architecture vector. If that
|
||||
fails, try dummy_id().
|
||||
|
||||
If the ABI specifies a "Red Zone" (see the doco) the code
|
||||
@@ -682,7 +682,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
|
||||
|
||||
/* Reserve space for the return structure to be written on the
|
||||
stack, if necessary. Make certain that the value is correctly
|
||||
aligned. */
|
||||
aligned. */
|
||||
|
||||
if (struct_return || lang_struct_return)
|
||||
{
|
||||
@@ -700,7 +700,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
|
||||
else
|
||||
{
|
||||
/* Stack grows upward. Align the frame, allocate space, and
|
||||
then again, re-align the frame??? */
|
||||
then again, re-align the frame??? */
|
||||
if (gdbarch_frame_align_p (gdbarch))
|
||||
sp = gdbarch_frame_align (gdbarch, sp);
|
||||
struct_addr = sp;
|
||||
@@ -898,11 +898,11 @@ When the function is done executing, GDB will silently stop."),
|
||||
{
|
||||
/* We stopped inside the FUNCTION because of a random
|
||||
signal. Further execution of the FUNCTION is not
|
||||
allowed. */
|
||||
allowed. */
|
||||
|
||||
if (unwind_on_signal_p)
|
||||
{
|
||||
/* The user wants the context restored. */
|
||||
/* The user wants the context restored. */
|
||||
|
||||
/* We must get back to the frame we were before the
|
||||
dummy call. */
|
||||
|
||||
Reference in New Issue
Block a user