aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-04-01Fix prototype problems related to recent disassembler changesJim Kingdon2-1/+7
1993-04-01 * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk thePeter Schauer1-0/+19
entire breakpoint chain and print only the first entry that needs to be printed and needs to be stopped for. Fixes problems with printing of multiple breakpoints with different conditions. * breakpoint.c (print_it_done): Renamed from print_it_noop as it effectively stops printing of the breakpoint chain. * breakpoint.c (print_it_noop): New routine to print nothing for this breakpoint entry and dont stop printing. * breakpoint.c (breakpoint_re_set_one): mention the reevaluated watchpoint only if it is enabled. * mipsread.c (parse_procedure): Correct incorrect setjmp procedure descriptor from the library to make backtraces through setjmp work. * mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for sigtramp. * mips-tdep.c (read_next_frame_reg): Provide correct values for all registers saved within sigtramp, cleanup.
1993-04-01merge binutils and gdb sparc disassemblersJim Kingdon2-450/+13
1993-04-01* core.c (dis_asm_read_memory): drop fourth arg which conflicts withK. Richard Pixley2-3/+10
prototype in ../include/dis-asm.h.
1993-03-31provide a new interface (using read_memory_func) to call the disassemblersJim Kingdon7-37/+36
which copes with errors in a plausible way
1993-03-31Teach sparc solaris to next over shared library functions.K. Richard Pixley5-85/+94
* solib.[hc] (find_pc_section_from_so_list): new function and prototype. * sparc-tdep.c (in_solib_trampoline): new function. * symfile.[hc] (find_pc_section): new function and prototypes. * target.[hc] (find_pc_section_from_targets): new function and prototypes. * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to in_solib_trampoline.
1993-03-30* infrun.c (wait_for_inferior): Revise comment.Jim Kingdon1-0/+2
1993-03-30Tue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)Jim Kingdon6-19/+68
* command.c (do_setshow_command): Use %u with var_{u,z}integer. * command.{c,h}: New var_type var_integer. main.c: Use it for history_size. * rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c: Lint and byte-order fixups.
1993-03-30(print_it_normal): return 0 after hitting watchpointJim Kingdon2-2/+4
1993-03-30 * breakpoint.h (bpstat): New field print_it.Jim Kingdon2-54/+138
breakpoint.c (bpstat_print): Use it. (print_it_normal): New function (from old bpstat_print code). (bpstat_{alloc,stop_status}): Set print_it field. * breakpoint.c (bpstat_stop_status): Use catch_errors when evaluating watchpoint condition, via new function watchpoint_check. Also stop if watchpoint disabled due to leaving its block.
1993-03-30 * config/unix-gdb.exp: Add missing return 0.Peter Schauer2-0/+5
1993-03-30 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an earlyPeter Schauer1-0/+5
test termination.
1993-03-30*** empty log message ***Jim Kingdon1-0/+4
1993-03-30add commentJim Kingdon1-47/+149
1993-03-30 * mips-pinsn.c: Add missing include of dis-asm.h.Peter Schauer2-0/+5
1993-03-30 * Makefile.in (clean, distclean, realclean): Recursively applyFred Fish1-0/+5
to subdirs first, rather than last. This avoids, for example, Makefile being removed in a parent directory before the recursive make is run.
1993-03-30 * configure.in (subdirs): Put back gdb.t17 which mysteriouslyFred Fish2-1/+9
disappeared.
1993-03-30Update for just completed file renamings.Fred Fish3-13/+20
1993-03-30 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.Fred Fish29-39/+52
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h, tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h, tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h instead of tm-68k.h. * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h. * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c, m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h, nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'. * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of tm-68k.h to tm-m68k.h. * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h. * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to tm-m68k-nofp.h.
1993-03-29Add comments regarding breakpoint_re_setJim Kingdon2-1/+18
1993-03-29 * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.Fred Fish16-61/+72
* a29k-pinsn.c: Renamed from am29k-pinsn.c. * a29k-tdep.c: Renamed from am29k-tdep.c. * remote-eb.c, config/a29k/tm-ultra3.h: Include renamed tm-a29k.h. * remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h, tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi, testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp: Map '29k' to 'a29k'. * config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt} (TDEPFILES): Use renamed a29k-pinsn.o and a29k-tdep.o. * config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE): Use renamed tm-a29k.h. * config/a29k/a29k-udi.mt (MT_CFLAGS): Remove TARGET_AM29K define that does not appear anywhere else in the gdb source tree. * doc/gdbinit.texinfo: Document renaming of tm-29k.h to tm-a29k.h.
1993-03-29 * xcoffread.c (sort_syms, compare_symbols): Remove.Jim Kingdon2-59/+5
(xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c not our own sort_syms (it is identical).
1993-03-29* xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).Jim Kingdon2-6/+5
1993-03-29 * breakpoint.{c,h}: Add exp_string to struct breakpoint and useJim Kingdon3-72/+104
it in breakpoint_re_set.
1993-03-28 * breakpoint.c (breakpoint_re_set_one): Fix storage leak.Peter Schauer5-10/+40
* breakpoint.c (enable_breakpoint): Don't enable watchpoint if it went out of scope. * exec.c (exec_close): Fix storage leak. * exec.c (exec_file_command): Make sure that bfd doesn't realign the output sections when patching an executable. * mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR when writing all registers. * mips-tdep.c (mips_push_dummy_frame): Save floating point registers at the right offset in the dummy frame. * mipsread.c (psymtab_to_symtab_1): Do not complain for stProc, stStaticProc and stEnd symbols as they are generated by gcc-2.x. * mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
1993-03-28Reorder recent entries that we out of date sequence, and add an entry ofFred Fish1-21/+28
mine that got dropped somehow.
1993-03-27Catch up on today's changes.Roland Pesch2-1/+24
1993-03-27*-config.texi: introduce new switch GENERIC to describe text *only* forRoland Pesch3-3/+30
(the usual) non-specialized versions of the manual. gdb.texinfo: list of nonstandard init file names, with brief descriptions (permits closing PRMS gdb/2296).
1993-03-271. Update conditional markup:Roland Pesch6-1005/+307
(a) to make H8 configuration come out right (first attempt since conversion to texinfo conditionals); (b) to exploit yesterday's makeinfo bugfix, using conditionals in menus rather than multiple alternative menus. 2. Update H8 text to refer to H8/500 as well as H8/300. 3. Define config file gdb-config.texi as a link in Makefile, based on a DOC_CONFIG variable.
1993-03-26* Makefile.in (TARFILES): Avoid trailing backslash.John Gilmore2-3/+5
1993-03-26Fetch lazy valuesJim Kingdon2-57/+73
1993-03-26 * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,Jim Kingdon1-12/+16
don't use sizeof(int) for target stuff, etc).
1993-03-26 * Clean up xcoff relocation.Jim Kingdon12-204/+279
objfiles.h (struct objfiles): Add section_offsets, num_sections. symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets): Set them. symtab.h (struct general_symbol_info): Add section field. minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it. xcoffread.c: Set section for symbols and msymbols. (struct symtab): Add block_line_section field. buildsym.c (end_symtab): Set it. (end_symtab and callers): Add section parameter. objfiles.c (objfile_relocate): New funciton. xcoffexec.c (vmap_symtab): Use it. xcoffsolib.h (struct vmap): Remove unused fields. config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove CORE_NEEDS_RELOCATION, symtab_relocated. config/rs6000/tm-rs6000.h: Remove use of loadinfotext. rs6000-tdep.c: Make loadinfotext static. breakpoint.c (fixup_breakpoints): Doc fix. symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c (end_symtab): primary field replaces nonreloc.
1993-03-26 * gdb.t15/funcargs.exp: Fix expected outputs to includeFred Fish1-0/+6
"backtrace 100\r" rather than just "backtrace\r", to match last change.
1993-03-25List the known things that are currently sanitized away. (SanitizeFred Fish1-2/+16
should support a separate list of these things and report them differently from unknown things that are sanitized away).
1993-03-25 * findvar.c (read_register, write_register): Make these capableStu Grossman1-39/+48
of reading/writing registers that are shorter than REGISTER_TYPE. * (value_from_register): Install H8500 specific code to return proper value when register is being used as a pointer. * h8500-tdep.c: Remove extra defines of NUM_REGS. (h8500_skip_prologue): Use correct lengths for LINK instructions. (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to chain frames properly by combining frame pointer with T reg. (init_extra_frame_info): Delete. It's now a macro. (frame_args_address): Don't add PTR_SIZE. Stack args are already offset by the correct amount off of the frame pointer. (register_byte): Delete. It's now a macro. (register_raw_size, register_virtual_size): Delete. Replaced by common routine h8500_register_size, cuz there's no difference between the raw & virtual sizes on this machine. (register_convert_to_raw, register_convert_to_virtual): Delete, cuz there's no difference between the raw & virtual forms. Replaced by memcpy in tm file. (register_virtual_type): Rename to h8500_register_virtual_type. Get rid of pointer pseudo-regs, use _REGNUM with all reg names. (_initialize_h8500_tdep): Get rid of crock to ensure that GDB & emulator have same reg offsets. This is all handled in the simulator code now. (h8500_trapped_internalvar): New routine to detect references to convenience vars acting as pointer pseudo-regs. (h8500_value_trapped_internalvar): Conjure up value of pointer pseudo-regs. (h8500_set_trapped_internalvar): Convert set value in real register references. infcmd.c (read_pc, write_pc): Add h8500 specific code to handle code segment register. infrun.c (proceed): Simplify. Call write_pc instead of doing it by hand. (wait_for_inferior): Add h8500 specific code to add stack segment when reading SP register. remote-sim.c (fetch_register): Spacing. tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to detect cruft. Redo all register manipulation stuff. Get rid of pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment to frame pointer. (IS_TRAPPED_INTERNALVAL, VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these to create internal vars for pointer pseudo-regs.
1993-03-25 * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,Fred Fish7-3109/+4
i860-pinsn.c, i860-tdep.c, config/i860/*: Remove incomplete i860 support that can't be integrated anyway due to lack of clear authorship.
1993-03-25 * findvar.c (read_register, write_register): Make these capableStu Grossman4-198/+507
of reading/writing registers that are shorter than REGISTER_TYPE. * (value_from_register): Install H8500 specific code to return proper value when register is being used as a pointer. * h8500-tdep.c: Remove extra defines of NUM_REGS. (h8500_skip_prologue): Use correct lengths for LINK instructions. (FRAME_CHAIN): Change name to h8500_frame_chain. Rewrite code to chain frames properly by combining frame pointer with T reg. (init_extra_frame_info): Delete. It's now a macro. (frame_args_address): Don't add PTR_SIZE. Stack args are already offset by the correct amount off of the frame pointer. (register_byte): Delete. It's now a macro. (register_raw_size, register_virtual_size): Delete. Replaced by common routine h8500_register_size, cuz there's no difference between the raw & virtual sizes on this machine. (register_convert_to_raw, register_convert_to_virtual): Delete, cuz there's no difference between the raw & virtual forms. Replaced by memcpy in tm file. (register_virtual_type): Rename to h8500_register_virtual_type. Get rid of pointer pseudo-regs, use _REGNUM with all reg names. (_initialize_h8500_tdep): Get rid of crock to ensure that GDB & emulator have same reg offsets. This is all handled in the simulator code now. (h8500_trapped_internalvar): New routine to detect references to convenience vars acting as pointer pseudo-regs. (h8500_value_trapped_internalvar): Conjure up value of pointer pseudo-regs. (h8500_set_trapped_internalvar): Convert set value in real register references. infcmd.c (read_pc, write_pc): Add h8500 specific code to handle code segment register. infrun.c (proceed): Simplify. Call write_pc instead of doing it by hand. (wait_for_inferior): Add h8500 specific code to add stack segment when reading SP register. remote-sim.c (fetch_register): Spacing. tm-h8500.h: #define GDB_TARGET_IS_H8500 to make it easier to detect cruft. Redo all register manipulation stuff. Get rid of pointer pseudo-regs. (INIT_EXTRA_FRAME_INFO): Adds stack segment to frame pointer. (IS_TRAPPED_INTERNALVAL, VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR): Use these to create internal vars for pointer pseudo-regs.
1993-03-25 * config/udi-gdb.exp (gdb_exit): Remove close command.Ian Lance Taylor2-20/+63
(gdb_target_udi): New procedure to set the UDI target. (gdb_start): Don't remove *_soc files. Use gdb_target_udi. * gdb.t00/default.exp: Added expected failures for a29k-*-udi. Added waits for prompts after several question responses. Added some more responses used by a29k-amd-udi-gdb. * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support: pass different arguments, restart UDI connection after program completion. * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp, gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*. * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection after program completion. * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is compiled with a SELECT_VECS setting. * gdb.t15/funcargs.exp: Use argument to backtrace to prevent infinite recursion. * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp: Added checks for COFF results, and made them expected failures for all targets. It would be better to make them expected failures for COFF targets only.
1993-03-25Remove i860 directory for list of things to keep.Fred Fish1-1/+3
1993-03-25 * Makefile.in: Numerous small changes to macro definitionsFred Fish4-310/+261
and rules for building gdb distribution tree. Many macros eliminated or merged, and rules simplified. * alldeps.mak: Update. * depend: Update.
1993-03-25Doesn't need links anymore.Rob Savoye1-13/+13
1993-03-25rename deja-gnu to dejagnuDavid D. Zuhn2-2/+3
1993-03-24add dvi, fix info & install-info (no recursion)David D. Zuhn2-6/+7
1993-03-24add dvi targetDavid D. Zuhn2-0/+5
1993-03-24recurse through SUBDIRS for dvi targetDavid D. Zuhn2-2/+6
1993-03-24 * gdb.t31/gdbme.ch: Re-enable code that previously causedFred Fish1-0/+9
compiler to coredump. * gdb.t31/chillvars.exp: Re-enable tests that depend on that code.
1993-03-24*** empty log message ***Roland Pesch1-0/+4
1993-03-24Formatting updates from progressive.Roland Pesch2-22/+28
1993-03-23 * gdb.t31/gdbme.ch: Comment out code that causes chill compilerFred Fish1-0/+9
coredump. * gdb.t31/chillvars.exp: Comment out tests that depend on that code.