aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-08-02Update FSF address.Fred Fish437-445/+446
1995-08-01 * xcoffread.c (process_linenos): The value in include file symbolKung Hsu1-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.
1995-08-01* configure.in: Check for working mmap, ansi headers, string.h,J.T. Conklin137-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.
1995-08-01 * mips-tdep.c (mips_extract_return_value): Fix returning ofPeter Schauer3-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.
1995-08-01 * h8500-tdep.c: General linting and cleanup.Stan Shebs4-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.
1995-07-31Oops, don't edit a file when your checkin hasn't finishedJ.T. Conklin1-1/+1
1995-07-31* configure.in: Check for unistd.h.J.T. Conklin18-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.
1995-07-31Add file documenting basic procedures for gdb release manager to produceFred Fish1-0/+1
FSF releases. Set up .Sanitize to always remove this file.
1995-07-31 * gdb.base/a2-run.exp: Change messages to be more explicit aboutFred Fish1-0/+237
the status of args, and quote binfile in results.
1995-07-30 * gdb.base/callfuncs.exp: Add tests for passing structs toFred Fish2-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.
1995-07-30 * rs6000-tdep.c (frame_saved_pc): Check for signal handler callerPeter Schauer1-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.
1995-07-30Fix problem with configure script when run on systems where native shellFred Fish2-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.
1995-07-29Remove mentions of nonexistent things, add lose-mswin to control inclusionStan Shebs1-5/+18
of WinGDB stuff separately.
1995-07-29 * sparclite: Removed subdirectory. aload and eload are now inStan Shebs3-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.
1995-07-29 * gdb.base/Makefile.in (clean): Remove callf-info.exp.Peter Schauer2-1/+17
1995-07-29 * procfs.c (unconditionally_kill_inferior): Clear current signalPeter Schauer3-1/+37
if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined. * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
1995-07-29 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,Peter Schauer3-2/+6
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
1995-07-29 * alpha-tdep.c: Move sigtramp handling of saved registers fromPeter Schauer4-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.
1995-07-28 * config/vxworks29k.exp: New file, sources vxworks.exp.Brendan Kehoe1-0/+1
1995-07-28 * configure, configure.in (z8k-*-sim): deleted.Steve Chamberlain2-2/+0
1995-07-28 * config/gdbremote.exp: New file. Testing framework usingJeff Law2-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.
1995-07-28 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail forFred Fish5-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.
1995-07-27 * lynx-nat.c (child_wait): Handle threads exiting.Jeff Law1-0/+16
1995-07-27Forgot to commit .Santiize.Jeff Law1-0/+40
1995-07-27More V.4/AIX fixesMichael Meissner1-58/+53
1995-07-27 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for callingJeff Law2-23/+40
into shared libraries. Amazing... 7363 has required serious work in gcc, gas, bfd, and now gdb...
1995-07-27Better support V.4 calling sequences.Michael Meissner3-265/+266
1995-07-26 * remote.c: Add documentation for extended protocol operationsJeff Law1-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".
1995-07-26 * gdb.threads: New directory with some crude multi-threadedJeff Law4-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.
1995-07-25Oops, forgot the parens.Stan Shebs1-3/+5
1995-07-25 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stabStan Shebs2-0/+6
line numbers using the psymtab's section offsets. PR 7514
1995-07-25 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.Jeff Law1-0/+2
1995-07-25Change aix_framedata -> rs6000_framedataMichael Meissner3-12/+27
1995-07-25 * gdb.base/signals.exp: Disable whole file for lynx untilJeff Law2-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.
1995-07-25 * gdb.base/signals.exp: xfail test where "next" acts likeJeff Law2-1/+328
"continue" for lynx.
1995-07-25 * gdb.base/interrupt.exp: xfail test for calling function whileJeff Law1-0/+3
inferior is asleep for lynx.
1995-07-25 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing moreJeff Law1-0/+5
than one cr-lf after each command.
1995-07-24 * configure.in: Reinstate setting of stabsdirs variable, fixPeter Schauer2-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.
1995-07-23 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.Jeff Law1-0/+9
1995-07-21 * lynx-nat.c (child_thread_alive): New function. Somehow IJeff Law1-0/+17
forgot to check this in with all the other thread_alive changes.
1995-07-21 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lfJeff Law1-3/+3
sequences to be echo'd by gdb when using gdb_test. * gdb.chill/chexp.exp: Likewise. * gdb.fortran/exprs.exp: Likewise
1995-07-21 * somread.c (som_symtab_read): Add unsatisfied common symbols toJeff Law2-0/+23
the minimal symbol table. All common symbols are "unsatisfied" when -E is passed to the linker. mentor-7462
1995-07-20 * top.c (show_endian): Cast first arg of printf_unfiltered toFred Fish2-1/+6
correct type of "char *".
1995-07-20 * lynx-nat.c (child_wait): A thread_id of zero from wait apparentlyJeff Law2-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.
1995-07-20 * gdbserver/low-hppabsd.c: Remove error declaration.Jeff Law4-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.
1995-07-20 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 secondsJeff Law5-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.
1995-07-20 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscallJeff Law2-1/+8
test if we can't handle IO to/from the inferior.
1995-07-20 * gdb.c++/misc.exp: Always check for a program already beingJeff Law1-0/+3
started after sending a "run" command to gdb.
1995-07-20 * gdb.base/twice.exp: Start with a fresh gdb.Jeff Law1-0/+2
1995-07-20 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these testsJeff Law2-2/+3
only depend on gdb's expression code, not the chill runtime.