summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * xcoffread.c (process_linenos): The value in include file symbolKung Hsu1995-08-011-2/+3
| | | | | should point to line number table. Currently this value is not set correctly by AIX ld. A fix to get around this bug.
* * configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin1995-08-01137-1150/+2200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | strings.h, and memory.h. * configure: Regenerated. * gdb_stat.h: New file, "portable" <sys/stat.h>. * gdb_string.h: New file, "portable" <string.h>. * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c, convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c, gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c, i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c, mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c, rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c, symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c, ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c, ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c, core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c, dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c, exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c, fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c, inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c, m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c, monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c, printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c, remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c, remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c, solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c, symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of <string.h>. * gdbtk.c: Likewise. * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. * config/xm-lynx.h, config/i386/xm-ptx.h, config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h, config/mips/xm-irix3.h, config/mips/xm-mips.h, config/mips/xm-news-mips.h, config/mips/xm-riscos.h, config/pa/hppah.h, config/rs6000/xm-rs6000.h, config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h, config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h, config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed. * config/mips/xm-irix3.h, config/mips/xm-mips.h, config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
* * mips-tdep.c (mips_extract_return_value): Fix returning ofPeter Schauer1995-08-013-10/+34
| | | | | | | | values whose length is less than the register size for big endian targets. * alpha-tdep.c (alpha_extract_return_value, alpha_store_return_value): Use alpha_convert_register_to_* to handle functions returning "float" correctly.
* * h8500-tdep.c: General linting and cleanup.Stan Shebs1995-08-014-163/+168
| | | | | | | | | | | | | | | | (opcodes/h8500-opc.h): Don't include. (code_size, data_size): Make static. (frame_locals_address, frame_args_address): Remove. (h8300_pop_frame): Rename to h8500_pop_frame. (big_command, medium_command, compact_command, small_command): Define as regular functions rather than with macro trickery. (tm_print_insn): Set to correct disassembler function. * config/h8500/tm-h8500.h: Minor cleanup, add prototypes. (ABOUT_TO_RETURN): #if 0 out. (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define. (GDB_TARGET_IS_H8500): Remove duplicate definition. (regoff): Remove, never used. * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
* Oops, don't edit a file when your checkin hasn't finishedJ.T. Conklin1995-07-311-1/+1
|
* * configure.in: Check for unistd.h.J.T. Conklin1995-07-3118-318/+563
| | | | | | | | | * configure: Regenerated. * command.c, cp-valprint.c, fork-child.c, i386-tdep.c, i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c, source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h and/or unistd.h to bring prototypes into scope.
* Add file documenting basic procedures for gdb release manager to produceFred Fish1995-07-311-0/+1
| | | | FSF releases. Set up .Sanitize to always remove this file.
* * gdb.base/a2-run.exp: Change messages to be more explicit aboutFred Fish1995-07-311-0/+237
| | | | the status of args, and quote binfile in results.
* * gdb.base/callfuncs.exp: Add tests for passing structs toFred Fish1995-07-302-0/+222
| | | | | | inferior functions and return various types. * gdb.base/callfuncs.c: Add functions to receive a struct and return a member of the struct, in various types.
* * rs6000-tdep.c (frame_saved_pc): Check for signal handler callerPeter Schauer1995-07-301-14/+35
| | | | | | | | | | before trying to determine the start of the function. (skip_prologue): Skip subroutine call which might save the floating point registers only if it is within the first three instructions. Reinstate setting of alloca_reg if setup of a gcc frame pointer is found. (frame_get_cache_fsr): Use new fields in rs6000_framedata.
* Fix problem with configure script when run on systems where native shellFred Fish1995-07-302-11/+13
| | | | | | is bash or ksh, which handles "... $(TCL) ..." by trying to run TCL. Changed configure.in and regenerated configure, including two lines apparently inserted by custom cygnus version of autoconf 2.4.
* Remove mentions of nonexistent things, add lose-mswin to control inclusionStan Shebs1995-07-291-5/+18
| | | | of WinGDB stuff separately.
* * sparclite: Removed subdirectory. aload and eload are now inStan Shebs1995-07-293-4/+8
| | | | | | | utils/sparclite, low-level library is in libgloss. * configure.in (sparclite*): Don't configure sparclite subdir. * configure: Update. * Makefile.in (TARDIRS): Remove, no longer used.
* * gdb.base/Makefile.in (clean): Remove callf-info.exp.Peter Schauer1995-07-292-1/+17
|
* * procfs.c (unconditionally_kill_inferior): Clear current signalPeter Schauer1995-07-293-1/+37
| | | | | if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined. * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
* * config/mips/tm-irix3.h, config/mips/tm-irix5.h,Peter Schauer1995-07-293-2/+6
| | | | config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
* * alpha-tdep.c: Move sigtramp handling of saved registers fromPeter Schauer1995-07-294-83/+271
| | | | | | | | | | | | | | read_next_frame_reg to alpha_find_saved_regs, handle saved floating point registers. * mips-tdep.c: Move sigtramp handling of saved registers from read_next_frame_reg to mips_find_saved_regs, handle saved floating point registers. * config/mips/tm-irix3.h, config/mips/tm-irix5.h, config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define. * sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp' instruction to handle functions returning structures with large sizes properly.
* * config/vxworks29k.exp: New file, sources vxworks.exp.Brendan Kehoe1995-07-281-0/+1
|
* * configure, configure.in (z8k-*-sim): deleted.Steve Chamberlain1995-07-282-2/+0
|
* * config/gdbremote.exp: New file. Testing framework usingJeff Law1995-07-282-0/+6
| | | | | | | gdbserver. Doesn't work with lynx yet, and you need to set a handful of variables in your site.exp, but it's worth checking in now.
* * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail forFred Fish1995-07-285-1/+33
| | | | | | | | | | | | | "call function when asleep" and "send end of file". * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list for "backtrace in corefile.exp". * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list for "backtrace through signal handler". * gdb.base/corefile.exp: Make sure we actually generate a core file before trying the core tests. Some systems allow the user to suppress generation of core files and default to that (linux for example). * gdb.base/signals.exp: Change xfail for "next" acting like "continue" from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
* * lynx-nat.c (child_wait): Handle threads exiting.Jeff Law1995-07-271-0/+16
|
* Forgot to commit .Santiize.Jeff Law1995-07-271-0/+40
|
* More V.4/AIX fixesMichael Meissner1995-07-271-58/+53
|
* * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for callingJeff Law1995-07-272-23/+40
| | | | | | into shared libraries. Amazing... 7363 has required serious work in gcc, gas, bfd, and now gdb...
* Better support V.4 calling sequences.Michael Meissner1995-07-273-265/+266
|
* * remote.c: Add documentation for extended protocol operationsJeff Law1995-07-261-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and for thread_alive change from a couple weeks ago. (extended_remote_ops): Declare and define a new target vector for the extended remote protocol. (extended_remote_restart): New function to restart the remote server & process. (remote_open): Just a stub routine. (extended_remote_open): New function to start a remote session using the extended gdb remote protocol. (remote_open_1): New function containing code common to both remote_open and extended_remote_open. (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly. (extended_remote_create_inferior): New function for the extended remote target. (initialize_remote): Add the extended_remote_ops target vector. * gdbserver/server.c (main, case '!'): Set extended_protocol. (main, case 'k'): If the extended protocol is in use, kill the inferior then start a new one. (main, case 'R'): New command to restart the remote server and inferior process. Only supported when using the extended protocol. (main, server loop): If the inferior terminates while using the extended protocol then start a new one. If getpkt fails when using the extended protocol then exit. New extended remote gdb protocol support; intended mainly for use with the gdbserver testing framework that I'll be checking in soon. Also useful for interactive remote debugging since it supports "run".
* * gdb.threads: New directory with some crude multi-threadedJeff Law1995-07-264-0/+257
| | | | | | | | | | gdb tests (step.exp and step2.exp). * config/mt-lynx (STEP_EXECUTABLE): Define. (THREADFLAGS): Define. Hiro's test for 6100 and a crude test of my own. They both need some major cleanup for non-lynx hosts; both are also a little too loose in their checks. But I'm too burnt out on lynx to address either concern.
* Oops, forgot the parens.Stan Shebs1995-07-251-3/+5
|
* * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stabStan Shebs1995-07-252-0/+6
| | | | | line numbers using the psymtab's section offsets. PR 7514
* * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.Jeff Law1995-07-251-0/+2
|
* Change aix_framedata -> rs6000_framedataMichael Meissner1995-07-253-12/+27
|
* * gdb.base/signals.exp: Disable whole file for lynx untilJeff Law1995-07-252-0/+12
| | | | | | | | further notice. Looks like a bug in the lynx2.2.2 kernel scroggs the stack pointer in these tests leading to massive failures. I've sent a nice small concise example to Mark Rome @ lynx. Severe braindamage.
* * gdb.base/signals.exp: xfail test where "next" acts likeJeff Law1995-07-252-1/+328
| | | | "continue" for lynx.
* * gdb.base/interrupt.exp: xfail test for calling function whileJeff Law1995-07-251-0/+3
| | | | inferior is asleep for lynx.
* * gdb.base/watchpoint.exp: Handle more cases of gdb echoing moreJeff Law1995-07-251-0/+5
| | | | than one cr-lf after each command.
* * configure.in: Reinstate setting of stabsdirs variable, fixPeter Schauer1995-07-242-5/+20
| | | | | | | | typo in setting up configdirs for native builds. * gdb.base/return.exp: Fix typo in return double test. * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the compiler from optimizing them away.
* * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.Jeff Law1995-07-231-0/+9
|
* * lynx-nat.c (child_thread_alive): New function. Somehow IJeff Law1995-07-211-0/+17
| | | | forgot to check this in with all the other thread_alive changes.
* * gdb.base/gdbvars.exp: Expect zero or more additional cr-lfJeff Law1995-07-211-3/+3
| | | | | | sequences to be echo'd by gdb when using gdb_test. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise
* * somread.c (som_symtab_read): Add unsatisfied common symbols toJeff Law1995-07-212-0/+23
| | | | | | | the minimal symbol table. All common symbols are "unsatisfied" when -E is passed to the linker. mentor-7462
* * top.c (show_endian): Cast first arg of printf_unfiltered toFred Fish1995-07-202-1/+6
| | | | correct type of "char *".
* * lynx-nat.c (child_wait): A thread_id of zero from wait apparentlyJeff Law1995-07-202-2/+12
| | | | | | means the process is single threaded, so there's no need to add it to the thread list. Handle case where multi-threaded process reverts back to a single-threaded process.
* * gdbserver/low-hppabsd.c: Remove error declaration.Jeff Law1995-07-204-3/+13
| | | | | | | | | * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * gdbserver/server.h: Remove error and fatal declaration. * gdbserver/utils.c (error): Update to be compatable with recent changes in defs.h. (fatal): Likewise.
* * gdb.base/a1-selftest.exp: Reset the timeout value to 30 secondsJeff Law1995-07-205-100/+234
| | | | | | | | | | | | | | | | | | | after the inferior gdb has started. 'cuz lynx may take a couple minutes to start the inferior gdb... * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf after each command. * gdb.base/funcargs.exp: Likewise. * gdb.base/gdbvars.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.c++/demangle.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise. Just in case we can't get a version of expect that sets the tty modes right on lynx to avoid this problem.
* * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscallJeff Law1995-07-202-1/+8
| | | | test if we can't handle IO to/from the inferior.
* * gdb.c++/misc.exp: Always check for a program already beingJeff Law1995-07-201-0/+3
| | | | started after sending a "run" command to gdb.
* * gdb.base/twice.exp: Start with a fresh gdb.Jeff Law1995-07-201-0/+2
|
* * gdb.chill/chexp.exp: Remove skip_chill_tests check; these testsJeff Law1995-07-202-2/+3
| | | | only depend on gdb's expression code, not the chill runtime.
* * gdb.base/return.c: Put return values into variables so weJeff Law1995-07-201-0/+5
| | | | | | can have gdb print them rather than depending on the program to print them. * gdb.base/return.exp: Corresponding changes.