aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-09-18 * gdbtk-cmds.c (get_frame_name): Demangle function names, too.Keith Seitz2-1/+12
1998-09-18Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+8
* gdb.trace/*.exp: remove "remote_download" command.
1998-09-18 * sol-thread.c (sol_thread_notice_signals): Use PIDGET whenPeter Schauer2-1/+6
passing pid down to procfs_notice_signals.
1998-09-16 * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 onStu Grossman2-5/+29
failure. * (define_symbol): Check return value from resolve_symbol_reference, and drop symbol if it fails.
1998-09-16 * gdb.trace/configure.in(AC_INIT): typoFelix Lee3-2/+7
* gdb.trace/configure: regenerated
1998-09-15 * stabsread.c: Make all complaints static.Stu Grossman1-69/+89
* 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.
1998-09-15Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder26-2/+5878
* 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.
1998-09-15prevent multiple attempts at closing remote connection.Nick Clifton2-3/+17
1998-09-15Use value_at_lazy() to examine memory values. For x/i this is veryAndrew Cagney1-0/+10
important as it stops the specified address being fetched twice - once by value_at() and once somewhere in the disassembler.
1998-09-15Mon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+4
* dejagnu/baseboards/m68k-emc.exp: New file. * dejagnu/config/m68k-emc.exp: New file. * gdb/testsuite/config/m68k-emc.exp: New file.
1998-09-13Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* blockframe.c (find_pc_sect_partial_function): use bfd section of msymbol for end of section comparison.
1998-09-11Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-10/+8
* tracepoint.c: clean up several unused variables and such.
1998-09-11Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+21
* 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.
1998-09-11Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)Zdenek Radouch1-0/+5
* arm-tdep.c (arm_push_arguments): fixed frame construction
1998-09-11Thu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham2-1/+6
*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not null before trying to use it...
1998-09-11Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+4
* mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
1998-09-10More avoidance of writing documentation in the internals manual.Stan Shebs2-3/+8
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used. * os9kread.c: Remove comment mentioning IGNORE_SYMBOL.
1998-09-09Merges from SKY branch:Ron Unrau3-62/+183
* 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
1998-09-091998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1-0/+6
* 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).
1998-09-09Cleanup opportunity discovered while updating internals manual.Stan Shebs2-13/+30
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook, not currently used. * symfile.c (allocate_symtab): Deprecate use of INIT_EXTRA_SYMTAB_INFO here.
1998-09-04 * README: Update remote debugging and testsuite info.Stan Shebs1-0/+4
1998-09-03 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be aMark Alexander3-59/+137
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.
1998-09-03Killed the cloneStan Shebs1-2593/+0
1998-09-02 * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --Keith Seitz2-4/+7
the ui_progress_hook that has been installed will actually update the gui for us.
1998-09-01Modifications/fixes to support the ARM/ELF port.Zdenek Radouch5-135/+3687
1998-08-31 * top.c (context_hook): Define.Tom Tromey4-2/+12
* gdbtk-hooks.c (context_hook): Don't define.
1998-08-31 * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"Keith Seitz2-294/+301
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.
1998-08-30Sun Aug 30 00:49:18 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt6-6/+44
* 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.
1998-08-28Fri Aug 28 12:14:49 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-7/+14
* 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.
1998-08-25Tue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-0/+1933
* ax-gdb.c (gen_var_ref): Allow for typedef types. (gen_cast, gen_bitfield_ref, gen_expr): ditto.
1998-08-25Mon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-0/+10
* tracepoint.c (collect_symbol): Handle register doubles that are stored in two registers.
1998-08-24 * sh-stub.c (undoSStep): Improve comment.Mark Alexander4-22/+35
* 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.
1998-08-201998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-2/+7
* rdi-share/Makefile.am (INCLUDES): Fix typeo. * rdi-share/Makefile.in: Regenerated.
1998-08-201998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-26/+25
* rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'. * rdi-share/Makefile.in: Regenerated.
1998-08-20 * v850ice.c (v850ice_stop): New function to stop the ICE.Keith Seitz2-15/+28
(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.
1998-08-19 * i386v4-nat.c: Include sys/reg.h if present.Anthony Green2-0/+8
1998-08-19*** empty log message ***Fernando Nasser1-0/+10
1998-08-19 * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.Richard Henderson1-0/+4
1998-08-19 * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hookKeith Seitz3-29/+243
. (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.
1998-08-19 * stack.c: Define new hook, selected_frame_level_changed_hook, whichKeith Seitz1-0/+6
will be called whenever the selected stack level changes. (select_frame): Call the selected_frame_level_changed_hook.
1998-08-19 * remote-rdi.c (arm_rdi_open): Pass serial device name toStan Shebs2-2/+7
Adp_OpenDevice, and include it in error reports.
1998-08-19Ack, accidentally generated it with autoconf 2.12, not the current version.Jason Molenda1-290/+372
1998-08-181998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda14-417/+386
* 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.
1998-08-18Tue Aug 18 15:42:40 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-2/+12
* gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors and destructors from the function list.
1998-08-14No longer need to sanitize out tx39 bitsStan Shebs1-27/+0
1998-08-14 * mn10300-tdep.c (set_movm_offsets): Change second argument toJeff Law1-0/+6
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.
1998-08-14 * sol-thread.c (lwp_to_thread): Fix error message for failingPeter Schauer2-2/+14
td_ta_map_lwp2thr call. (ps_lgetLDT): Mask off upper bits in GS register when comparing with selector.
1998-08-13Added Foundry SDK changes.Drew Moseley3-233/+346
1998-08-13Added a scope-level around the contents of an #ifdef inDrew Moseley2-2/+10
gdbtk_cleanup() so that the variable declarations in there would not be illegal in a C compilation.
1998-08-12 * expprint.c (dump_prefix/postfix_expression): Don't try to print typeStu Grossman1-0/+5
expressions.