Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* gdb.trace/*.exp: remove "remote_download" command.
|
|
passing pid down to procfs_notice_signals.
|
|
failure.
* (define_symbol): Check return value from resolve_symbol_reference,
and drop symbol if it fails.
|
|
* gdb.trace/configure: regenerated
|
|
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range): Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table. Handle errors by aborting just the current
symbol.
* (ref_init): Goes away. Folded into ref_add().
* (REF_MAP_SIZE): Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add): Remove check for allocation failures. Not necessary
when using xrealloc(). Fix pointer arithmetic problem when clearing
memory. This and the previous patch prevent random SEGV's when there
are lots of live range symbols.
|
|
* lib/<emc-support.exp trace-support.exp}: New files.
* configure.in: add new test directory gdb.trace.
* gdb.trace/{configure configure.in Makefile.in}: New files.
* gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
* gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
* gdb.trace/{collection.c collection.exp tfind.exp }: New files.
* gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
* gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
* gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
* gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
|
|
|
|
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.
|
|
* dejagnu/baseboards/m68k-emc.exp: New file.
* dejagnu/config/m68k-emc.exp: New file.
* gdb/testsuite/config/m68k-emc.exp: New file.
|
|
* blockframe.c (find_pc_sect_partial_function): use bfd section
of msymbol for end of section comparison.
|
|
* tracepoint.c: clean up several unused variables and such.
|
|
* gdb.c++/classes.exp: Change all regular expressions to match
arbitrary combinations of newline/carriage-return, so that they
will work equally well on Unix and Windows.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/virtfunc.exp: ditto.
|
|
* arm-tdep.c (arm_push_arguments): fixed frame construction
|
|
*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
null before trying to use it...
|
|
* mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
|
|
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
|
|
* blockframe.c(find_pc_sect_partial_function): look for min syms in
the same section when trying to guess the end of a function.
* symfile.c(list_overlays_command): use print_address_numeric
* remote-sim.c: export simulator_command
* tm-r5900.h: add COP0 registers
* txvu-tdep.c: printvector and printvector-order commands
* tm-txvu.h: add COP0 registers
* mips-tdep.c: use NUM_CORE_REGS
|
|
* breakpoint.c (bpstat_stop_status): Declare a bp match if the
current fp matches the bp->fp OR if the current fp is less than
the bp->fp if we're looking at a bp_step_resume breakpoint.
PR 15992.
With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user. So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.
If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.
This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).
|
|
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
not currently used.
* symfile.c (allocate_symtab): Deprecate use of
INIT_EXTRA_SYMTAB_INFO here.
|
|
|
|
pseudo-register, not the same as a3.
(D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
* mn10300-tdep.c (fix_frame_pointer): New function.
(set_movm_offsets): Use register number macros instead of
hard-coded constants.
(mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
(mn10300_frame_chain): Fix to handle redefinition of FP_REGNUM;
use register number macros instead of hard-coded constants;
add missing parameter to call of mn10300_analyze_prologue.
(mn10300_frame_saved_pc): Use register number macros instead of
hard-coded constants.
|
|
|
|
the ui_progress_hook that has been installed will actually
update the gui for us.
|
|
|
|
* gdbtk-hooks.c (context_hook): Don't define.
|
|
and "global constructors", do not append any elements to the result.
(gdb_get_vars_command): Install patch from Jun 9 1998 which appears
to have been lost.
Clean up some tabbing mess.
|
|
* gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
with tcl variable gdb_context_id.
* gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
context_hook. Called when threads change.
* gdbtk.c: Initialize gdb_context.
* gdbtk.h: Declare gdb_context.
* infrun (wait_for_inferior): Call context_hook.
* thread.c (thread_command): Call context_hook.
* defs.h: Declare context_hook.
|
|
* gdbtk-cmds.c (gdb_loadfile): Open the file after doing
the symtab lookup and calling symtab_to_filename(). This
makes GDBtk work with the GDB "dir" command.
|
|
* ax-gdb.c (gen_var_ref): Allow for typedef types.
(gen_cast, gen_bitfield_ref, gen_expr): ditto.
|
|
* tracepoint.c (collect_symbol): Handle register doubles that
are stored in two registers.
|
|
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
same method on both 32-bit and 64-bit machines.
* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
support hardware breakpoints.
* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.
|
|
* rdi-share/Makefile.am (INCLUDES): Fix typeo.
* rdi-share/Makefile.in: Regenerated.
|
|
* rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
* rdi-share/Makefile.in: Regenerated.
|
|
(v850ice_load) Pass filename to ICE DLL.
(ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
commands -- let the GUI do it so that it can retain control
of the display.
|
|
|
|
|
|
|
|
.
(gdbtk_selected_frame_changed): New function.
* gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
Link gdb's global selected_frame_level with interpreter global
gdb_selected_frame_level.
(gdb_stack): New function to faciltate speedier backtraces from
gdbtk.
(get_frame_name): New helper function for gdb_stack.
|
|
will be called whenever the selected stack level changes.
(select_frame): Call the selected_frame_level_changed_hook.
|
|
Adp_OpenDevice, and include it in error reports.
|
|
|
|
* configure.in: Add more header files to AC_CHECK_HEADERS.
* configure: Regenerated.
* command.c: Include wait.h or sys/wait.h if present.
* inftarg.c: Ditto.
* core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
on autoconf test.
* infptrace.c: Ditto.
* expprint.c: Include ctype.h for isprint prototype.
* i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
* i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
present, based on autoconf test.
* utils.c: Include curses.h and term.h if present.
(puts_debug): Change 'carriage_return' local variable to return_p
to avoid name clash.
* config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
determine it with autoconf.
* config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
with autoconf.
* config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
with autoconf.
* config/i386/nm-i386v.h: Ditto.
* config/i386/nm-symmetry.h: Ditto.
* config/m88k/xm-cxux.h: Ditto.
* config/m88k/xm-dgux.h: Ditto.
* config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
* config/m68k/nm-delta68.h: Removed.
|
|
* gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
and destructors from the function list.
|
|
|
|
be the actual args to movm itself. All callers changed. Only set
fi->fsr.regs[x] if reg X is saved by the movm instruction.
|
|
td_ta_map_lwp2thr call.
(ps_lgetLDT): Mask off upper bits in GS register when comparing
with selector.
|
|
|
|
gdbtk_cleanup() so that the variable declarations in there
would not be illegal in a C compilation.
|
|
expressions.
|