aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1993-07-19Repair bugs in conditionals, spotted by Zoo during "latest" build.Roland Pesch2-1/+7
1993-07-19* ser-unix.c: Don't try to use job control with termio.Jim Kingdon2-21/+26
1993-07-19 * hppa-tdep.c (pc_in_linker_stub): New function.Jim Kingdon1-1/+1
(find_proc_framesize): Return 0 for linker stubs. (rp_saved): Tell the caller where rp is saved. (frame_chain_valid): Return 1 for linker stubs. (frame_saved_pc): Use return value from rp_saved.
1993-07-19 Make breakpoint_re_set_one work with overloaded member functions,Peter Schauer3-10/+122
`b 123' and `b foo' if foo is a static function. * symtab.c (decode_line_1, decode_line_2): New argument `canonical' to return canonical line specs if requested by the caller. * breakpoint.c, source.c, symtab.c, symtab.h: Change prototypes and callers accordingly. * symtab.c (build_canonical_line_spec): New helper function which constructs the canonical line spec. * breakpoint.c (break_command_1): Use canonical line spec instead of command string as addr_string if necessary. * source.c (line_info): Fix storage leak.
1993-07-19 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILLJim Kingdon3-0/+52
but not the others. * symm-tdep.c: Remove exec_file_command. [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions. A few miscellaneous cleanups. * symm-nat.c: Renamed from symm-xdep.c. * All symmetry dependent files: Many changes.
1993-07-19 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILLJim Kingdon11-830/+604
but not the others. * symm-tdep.c: Remove exec_file_command. [_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions. A few miscellaneous cleanups. * symm-nat.c: Renamed from symm-xdep.c. * All symmetry dependent files: Many changes.
1993-07-19 * mips-tdep.c (mips_skip_prologue): New argument lenient.Jim Kingdon3-24/+85
Use read_memory_nobpt. (is_delayed, mips_in_lenient_prologue): New functions. (init_extra_frame_info): If in the prologue, don't use saved registers. * config/mips/tm-mips.h: Declare mips_skip_prologue.
1993-07-18 * partial-stab.h (N_SO): Add the text offset to valu before, not after,Jim Kingdon2-4/+9
passing it to END_PSYMTAB.
1993-07-18 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New filesPeter Schauer8-0/+72
to make the stabs test work on ecoff systems using gcc and -with-stabs. * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to enable ecoff configuration.
1993-07-17MOD2Roland Pesch1-0/+5
1993-07-17 * symtab.c (find_pc_symtab): Call warning, not printf directly.Jim Kingdon2-1/+11
* solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
1993-07-17Introduce MOD2 switch to segregate material on Modula-2; eventuallyRoland Pesch3-21/+83
each supported language should be controlled by a separate switch, and CONLY should be retired.
1993-07-16 * mipsread.c: No longer need to undefine ZMAGIC.Ian Lance Taylor2-3/+4
1993-07-15 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.Ian Lance Taylor2-329/+16
(print_insn): Now just calls print_insn_m88k.
1993-07-15* h8300-tdep.c (examine_prologue): Make prototype match definition.David Edelsohn1-0/+4
1993-07-15(examine_prologue): Make prototype match definition.David Edelsohn1-1/+2
1993-07-15minor fixesJim Kingdon1-4/+4
1993-07-15* stabs.texinfo: Cleanups regarding statics.Jim Kingdon1-1/+4
1993-07-15* stabs.texinfo: Cleanups regarding statics.Jim Kingdon2-157/+51
1993-07-15 * gdbinv-s.texi (Bootstrapping): Document exceptionHandler.Jim Kingdon2-2/+34
(Debug Session): Mention exceptionHandler. Add xref to Bootstrapping.
1993-07-15* NEWS: Mention that remote.c now has a `load' operation.Jim Kingdon2-0/+7
1993-07-15* hppa-tdep.c (pc_in_linker_stub): New function.Jim Kingdon1-1/+11
1993-07-15 * hppa-tdep.c (pc_in_linker_stub): New function.Jim Kingdon2-11/+104
(find_proc_framesize): Return 0 for linker stubs. (rp_saved): Tell the caller where rp is saved. (frame_chain_valid): Return 1 for linker stubs. (frame_saved_pc): Use return value from rp_saved.
1993-07-15* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.Jim Kingdon1-0/+4
1993-07-15 * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,Jim Kingdon1-0/+6
pass the sp relative to the frame in question, not the sp in the innermost frame.
1993-07-15 * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we haveJim Kingdon1-1/+1
already checked the first characters.
1993-07-15 * mipsread.c (parse_procedure): Take as argument the symtab to lookJim Kingdon2-63/+64
the name up in. Look it up with mylookup_symbol, not lookup_symbol. (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
1993-07-15 * mipsread.c (psymtab_to_symtab_1, parse_procedure): For stabs,Jim Kingdon2-47/+68
save the indices of the MIPS_EFI_SYMBOL_NAME symbol rather than looking them up by the names of the functions. * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have already checked the first characters.
1993-07-14* printcmds.exp: Add another printf test.Jim Kingdon1-2/+6
1993-07-14xJim Kingdon1-1/+1
1993-07-14 Changes from Jeffrey Law:Jim Kingdon3-14/+48
* printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define machine dependent fields in the makeva_list structure. (makeva_size): Allocate extra space to handle gaps made by alignment restrictions. * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define. (MAKEVA_START): Initialize arglist_address field. (MAKEVA_ARG): Always store arguments on natural alignment boundaries. Set arglist_address to the address right after the args. (MAKEVA_END): Simply return the value stored in arglist_address.
1993-07-14 * configure.in: If configured -with-stabs on any target, addIan Lance Taylor2-0/+9
stabsdirs to configdirs.
1993-07-14 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): PrintJim Kingdon3-3/+11
address, not addr. * hppah-nat.c (store_inferior_registers): Don't print i in cases where we aren't using it.
1993-07-14Check in ChangeLog entry that got lost.Stu Grossman1-0/+29
Fri Jun 25 17:02:45 1993 Stu Grossman (grossman at cygnus.com) * gdbserver/Makefile.in: Add dependancies on server.h. * gdbserver/remote-gutils.c: Remove lots of unused functions and variables. * gdbserver/remote-inflow.c: Remove lots of unused variables and #includes. Also, use PTRACE_* symbols instead of constants. (mywait): Surround calls to wait() with enable/disable_async_io() so that we can be interrupted from GDB while waiting for the child. Also, handle child exit more gracefully. * gdbserver/remote-server.c: Remove lots of unused variables. Move all extern defs into server.h. Redo main loop so that failure from getpkt() causes communications to be re-established. Fix 'k' command so that it restarts the child. * gdbserver/remote-utils.c: Remove lots of unloved vars and subrs. Move many extern decls into server.h. (remote_open): For tcp, seperate usage of proto fd from connected fd. Close proto fd after getting connection. (putpkt/getpkt): Pay attention to errors when reading/writing. Report these to the caller. New routines input_interrupt/enable_async_io/disable_async_io to make it possible to get an I/O interrupt when data arrives from the comm link. * serial.h: New file to contain common defs for all remote files.
1993-07-14* a29k-tdep.c (get_saved_register): Fix typo.Jim Kingdon2-3/+7
1993-07-14* configure.in: Recognize h8300h (variant of h8300).David Edelsohn2-0/+14
Recognize sparc64-*-*.
1993-07-14Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)Jim Kingdon8-45/+144
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function returning foo' as well as `pointer to foo'. * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined. * config/m68k/tm-m68k.h: Define it. * mem-break.c, breakpoint.c: Improve comments. Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h". * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-14Restore function naming scheme (sim_xxx vs simif_xxx).David Edelsohn1-126/+177
Make more generic (remove any reference to sparc64). Document simif_xxx fns.
1993-07-13* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):David Edelsohn1-0/+5
Make prototype match definition.
1993-07-13 * elfread.c: Remove notice about file still being underFred Fish2-14/+2
construction.
1993-07-13 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.Fred Fish2-2/+6
1993-07-12* a29k-tdep.c (read_register_stack): Make val static.Jim Kingdon2-1/+5
1993-07-12h8300 stuff.David Edelsohn1-0/+6
1993-07-12(REGISTER_CONVERTIBLE): Change value to 0.David Edelsohn1-8/+5
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to usual spot.
1993-07-12* stabs.texinfo: N_MAIN is sometimes used for C.Jim Kingdon2-15/+18
1993-07-12 * c-valprint.c (c_val_print): Fix thinko with unspecified lengthJim Kingdon2-2/+6
arrays.
1993-07-12 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,Jim Kingdon2-0/+10
use it.
1993-07-12* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.Jim Kingdon1-0/+4
1993-07-12improve comment about Sun accJim Kingdon1-24/+42
1993-07-12 * symtab.c (decode_line_1): Use end of block to figure out whetherJim Kingdon6-115/+205
val.end is in the same function, not minimal symbols. * source.c (line_info): Add a few more wrap_here's. * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and don't make assumptions about sizes of host data types. * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr. * infrun.c, breakpoint.c, printcmd.c: Change callers. * printcmd.c (containing_function_bounds): Remove. * printcmd.c (disassemble_command): Use find_pc_partial_function, not containing_function_bounds. * infcmd.c (step_1): Use find_pc_partial_function rather than trying to roll our own. Move check for a pc between SIGTRAMP_START and SIGTRAMP_END in find_pc_partial_function, not step_1.