aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-11-27 * pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.Fred Fish2-2/+6
1995-11-27 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail forFred Fish3-14/+38
"bt in signals.exp". * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for "step over execarg initialization" and "step over corearg initialization". * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1995-11-25Left out of last cvs commit...Fred Fish1-0/+703
1995-11-25 From Rob Savoye (rob@poseidon.cygnus.com)Fred Fish50-1036/+2724
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in}, gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in}, gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig. * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure, gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files. * config/unix-gdb.exp: Make GDB global. * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp}, gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp}, gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues to returns as necessary, arrange for test to compile own testcase executable. * lib/gdb.exp: Changes for testsuite to compile own test cases. From Fred Fish (fnf@cygnus.com) * gdb.c++/classes.exp (test_pointers_to_class_members): Add clear_xfail at end of test which might not call either pass or fail. * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for "backtrace through signal handler".
1995-11-25 * mdebugread.c (handle_psymbol_enumerators, parse_symbol):Peter Schauer3-45/+113
Recognize enums from alpha cc -migrate. (upgrade_type): Pass correct fd to parse_symbol when parsing the index type of an array. (parse_procedure, parse_lines, psymtab_to_symtab_1): Handle unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x shared libraries. Use CORE_ADDR instead of `unsigned long' in procedure descriptor address computations. * symtab.c (decode_line_1): Prevent accidental strchr match of a null character with the terminating null character of gdb_completer_quote_characters. (cplusplus_hint): Make sure that only a single quote is printed in the hint message.
1995-11-24 * top.c (recurse_read_control_structure): Don't make cleanupsJeff Law2-13/+5
here. Callers handle that correctly. Fixes 6794.
1995-11-22 * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.Fred Fish3-1/+25
Also force HAVE_MMAP to be defined since autoconf is currently broken for detecting a working mmap under hpux. * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS to a better value suggested by Jeffrey A Law (law@cygnus.com).
1995-11-21 * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.Fred Fish1-0/+16
Also force HAVE_MMAP to be defined since autoconf is currently broken for detecting a working mmap under hpux.
1995-11-21 * objfiles.c (map_to_address): Have gdb print a warning when itFred Fish2-0/+10
is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and MMAP_INCREMENT defined (thus making it appear mmap doesn't work).
1995-11-20 * infrun.c (wait_for_inferior): Add support for dynamic functionStu Grossman2-1/+17
trampolines. These are pieces of code between the caller and the callee that figure out the address of the callee's code at run time. Upon entry, we can't figure out the callee's address, so we set a breakpoint within the trampoline where the address will be known, and continue the target. Once we hit the breakpoint, we break at the callee's address and proceed as usual. start-sanitize-gm * config/tm-magic.h: Define DYNAMIC_TRAMPOLINE_NEXTPC. Turn off IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE. end-sanitize-gm
1995-11-20 * objfiles.c (allocate_objfile): Change warning message about mappedFred Fish2-1/+8
symbol tables so that it is obvious that they are not supported on this particular machine rather than implying they are not supported at all in this version of gdb.
1995-11-20 * stack.c (print_frame_info): Use minimal symbol only ifPeter Schauer1-0/+2
fi->pc is in a known section.
1995-11-19fix typoAngela Marie Thomas1-1/+1
1995-11-19 * irix5-nat.c, osfsolib.c (solib_address): Return the name of thePeter Schauer3-10/+11
containing solib.
1995-11-19added ppc-bug.c to Things-to-keepAngela Marie Thomas1-0/+1
1995-11-19removed nm-irix5.h, nm-m3.h, nm-sysv4.hAngela Marie Thomas1-3/+0
1995-11-19removed ppcbug-rom.oAngela Marie Thomas1-1/+0
1995-11-19 * solib.c (solib_address): Return the name of the containing solib.Fred Fish3-5/+64
* solib.h (PC_SOLIB): New macro; define using solib_address. * stack.c (print_frame_info) [PC_SOLIB]: If no function name, try PC_SOLIB on the PC value.
1995-11-18 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.Peter Schauer1-1/+1
1995-11-18 * annotate.c (annotate_source, annotate_frame_begin): IssuePeter Schauer3-8/+30
`0x' prefix for the pc value, to remain consistent with previous GDB versions. * blockframe.c (find_pc_partial_function), config/pa/tm-hppa.h: Remove Sun shared library transfer hack and INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK, it is obsoleted by the mst_solib_trampoline minimal symbols. * blockframe.c (inside_main_func): Check main_func_*pc against INVALID_ENTRY_*PC, not zero. * symfile.c (init_entry_point_info): Initialize ei.*pc with INVALID_ENTRY_*PC. * mipsread.c (mipscoff_symfile_read): If the entry_file bounds are still unknown after processing the partial symbols, then try to set them from the minimal symbols. * infcmd.c (registers_info): Error out if selected_frame is NULL. * stack.c (return_command): Select new current frame silently if not interactive. * mipsread.c (read_alphacoff_dynamic_symtab): Ignore additional DT_MIPS_LOCAL_GOTNO and DT_MIPS_GOTSYM entries. * irix5-nat.c (solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): Add "set auto-solib-add" command. * osfsolib.c (solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): Add "set auto-solib-add" command.
1995-11-18 * configure.in: Change "idt" config to a generic "embed" configRob Savoye16-76/+76
for all mips*-*-ecoff or elf configurations. * configure: Regenerate using autoconf 2.4. * config/mips/{idt*.mt,tm-idt*.h}: Rename to "idt" part of the name to "embed". Build remote-array.o along with IDT protocols. * remote-array.c: Nuke setting the serial port to 4800 baud.
1995-11-16 * utils.c: Don't include sys/ioctl.h etc if MPW is host.Stan Shebs1-0/+4
1995-11-15* config/arm/tm-arm.h (ADDITIONAL_REGISTER_NAMES): Fix r5.David Edelsohn1-2/+7
(FRAME_SAVED_PC): Minor clean up.
1995-11-15ppcbug-rom checkinMichael Meissner1-0/+211
1995-11-15 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.Jeff Law1-3/+13
* gdb.base/corefile.exp: Likewise. * gdb.base/funcargs.exp: Likewise. Never should have been there anyway.
1995-11-15Switch to using new fangled monitor.o routines for ppcbug, rather than remoteMichael Meissner4-984/+3
1995-11-14 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.Stu Grossman2-0/+4
* config/monitor.exp: Add support for setting baud rate.
1995-11-14 * monitor.c (monitor_load_srec monitor_make_srec): Move allStu Grossman4-4/+4
S-record download code into srec.c. * srec.c srec.h: New files. Contain S-record loading routines formerly in monitor.c. * serial.c serial.h: New routine just like fprintf, but uses serial_t instead of FILE *. * sh-tdep.c (frame_find_saved_regs init_extra_frame_info): Don't add four to saved pc (makes things match manual). Also, fix bug where we didn't get pc from stack frame correctly. * config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to saved pc. Real hardware does this for you. * sh3-rom.c (sh3_load): New routine. Sets up for download then calls generic S-record loader. * config/h8300/h8300.mt, config/h8500/h8500.mt, config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt: Add srec.o to TDEPFILES.
1995-11-14 * monitor.c (monitor_load_srec monitor_make_srec): Move allStu Grossman8-18/+370
S-record download code into srec.c. * srec.c srec.h: New files. Contain S-record loading routines formerly in monitor.c. * serial.c serial.h: New routine just like fprintf, but uses serial_t instead of FILE *. * sh-tdep.c (frame_find_saved_regs init_extra_frame_info): Don't add four to saved pc (makes things match manual). Also, fix bug where we didn't get pc from stack frame correctly. * config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to saved pc. Real hardware does this for you. * sh3-rom.c (sh3_load): New routine. Sets up for download then calls generic S-record loader. * config/h8300/h8300.mt, config/h8500/h8500.mt, config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt: Add srec.o to TDEPFILES.
1995-11-14Add preliminary ppcbug support.Michael Meissner1-0/+2
1995-11-14Add preliminary ppcbug support.Michael Meissner7-6/+1001
1995-11-14Zap partial-stab.h:GDB_TARGET_IS_HPPA item.Jeff Law1-4/+0
1995-11-13 * partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.Jeff Law2-15/+9
gcc-2.7.0 and gdb-4.15 have been released, so some old crud can disappear. Yippie!
1995-11-10 modified from 95q4Victoria Mixon3-9/+9
1995-11-09Enable powerpc simulator for all powerpc-eabi targets, not just ↵Michael Meissner3-29/+70
powerpc-eabisim if compiling with GCC. Add --enable-sim-powerpc option to control this.
1995-11-09 * mpw-config.in: Add variable with names of SIOW libraries.Raymond Jou3-0/+20
* mpw-make.sed: Add an action to build SIOWgdb.
1995-11-09 * mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure canStan Shebs2-0/+7
add back in if necessary.
1995-11-08* config/mips/vr4300.mt: Added simulator to default VR4300 build.Jackie Smith Cashion2-0/+6
NOTE: Only the BigEndian build has the simulator included, because a LittleEndian simulator is not constructed at the moment (it should work, but has not been tested fully).
1995-11-08 * remote-mips.c (mips_initialize): Fix brain damage found byStu Grossman2-2/+2
Jamie. Basically had case statement in the wrong place... * (mips_load): Remove unnecessary `db tty0' command. It's all handled by mips_initialize now.
1995-11-08 * remote-mips.c (mips_initialize): Fix brain damage found byStu Grossman2-5/+13
Jamie. Basically had case statement in the wrong place...
1995-11-07Exclude resources from SIOWgdb.Raymond Jou2-0/+8
1995-11-07* remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQJackie Smith Cashion2-14/+16
monitor board. The mips_initialize() code seemed to have a "funny" switch statement. I also removed an unnecessary switch into debug monitor mode just before the call to mips_initialize() in mips_load().
1995-11-06*** empty log message ***Jackie Smith Cashion1-0/+3
1995-11-06Change TARGET_MONITOR_PROMPT into real strings.Jackie Smith Cashion2-2/+2
1995-11-06*** empty log message ***Jackie Smith Cashion1-0/+5
1995-11-06Moved the "sim_open" call to after the callback initialisation. ThisJackie Smith Cashion1-1/+2
is to allow the simulator initialisation code to make use of the host callback facilities. Had discussed this with sac, and it should be a harmless change since none of the other simulators really make use of the call, and it does not return a result.
1995-11-05 * configure.in (AC_CHECK_HEADERS): add stddef.h.Jason Molenda3-209/+72
1995-11-05Fix typo in ChangeLog itself.Fred Fish1-1/+1
1995-11-05 * Makefile.in (COMMON_OBS): Use corefile.o rather than core.oFred Fish12-14/+26
* core.c: Rename to corefile.c. * config/pyr/tm-pyr.h, umax-xdep.c, sun386-nat.c, pyr-xdep.c, * Makefile.in (SFILES), gould-xdep.c, coredep.c, armtdep.c, arm-xdep.c, altos-xdep.c: Change core.c references to corefile.c. From Graham Stoney <greyham@research.canon.oz.au>. * Makefile.in (remote-array.o): Add rule to build. (ALLDEPFILES): Add remote-array.c * remote-array.c (baud_rate): Remove unnecessary declaration. (baudrate): Remove. (array_files_info): Print global baud_rate not baudrate.
1995-11-04 * Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.Stu Grossman22-529/+1610
* fork-child.c (fork_inferior): Add call to TARGET_CREATE_INFERIOR_HOOK to allow target specific code to get control just before the new process executes it's first instruction. * remote-mips.c (mips_initialize): Cleanup a bit. Don't try to receive a packet at first. This speeds up initialization a lot. Use TARGET_MONITOR_PROMPT instead of "<IDT>". (common_breakpoint): Use rresponse instead of rerrflg to inspect error code. * symfile.c (syms_from_objfile reread_symbols): Call TARGET_SYMFILE_POSTREAD to allow target specific code to get control after reading new symbols. * target.h: New macros TARGET_SYMFILE_POSTREAD, and TARGET_CREATE_INFERIOR_HOOK. See above for descriptions. * config/mips/{irix5.mh nm-irix5.h}: Delete nm-irix5.h. Make NAT_FILE point directly at ../nm-sysv4.h. * config/mips/{mipsm3.mh nm-m3.h}: Delete nm-m3.h. Make NAT_FILE point directly at ../nm-m3.h. * config/mips/{mipsv4.mh nm-sysv4.h}: Delete nm-sysv4.h. Make NAT_FILE point directly at ../nm-sysv4.h. * config/mips/nm-mips.h: Improve comment at top of file. * config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Change definition into a proper string. start-sanitize-gm * configure configure.in: Add support for --enable-gm. (mips*-*-magic*): Change target from magic to idt. * eval.c expprint.c expression.h parse.c remote-mips.c utils.c: Change GENERAL_MAGIC_HACKS to GENERAL_MAGIC. * magic.c magic.h: Update files from GM. * config/mips/magic.mt: Delete. No longer necessary now that we use --enable mechanism. * config/mips/tm-idt.h: Add GM stuff needed for remote GM box. * config/mips/tm-irix5.h: Add GM stuff needed for native Irix box. * config/mips/tm-magic.h: Move up to config/tm-magic.h. Move all platform specific stuff into tm-irix.h and tm-idt.h. Add defs for TARGET_SYMFILE_POSTREAD and TARGET_CREATE_INFERIOR_HOOK. end-sanitize-gm