aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-11-20 * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.David Edelsohn1-1/+1
1996-11-20 * callback.h: Deleted, moved to ../include.David Edelsohn6-430/+112
* callback.c: Deleted, moved to ../sim/common. * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co]. (callback.o): Delete rule. * remote-sim.h: No longer include callback.h (sim_callback_write_stdout): Delete prototype. * remote-sim.c (init_callbacks,end_callbacks): New functions. (gdb_os_write_stdout, gdb_os_printf_filtered): New functions. (gdb_callback, callbacks_initialized): New static globals. (gdbsim_open): Call init_callbacks. (gdbsim_close): Call end_callbacks. (simulator_command): Call init_callbacks.
1996-11-19 * gdbtk.c (gdbtk_readline): Fix memory leak.Tom Tromey2-1/+8
1996-11-19 Fixes for Tcl 7.6 / Tk 4.2:Tom Tromey3-661/+11
* gdbtk.tcl (apply_filespec): Use tk_getOpenFile. Removed old fileselect code. * gdbtk.c (Tcl_Alloc): Renamed from Tcl_Malloc.
1996-11-19Fix Irix6 host build problem.Jim Wilson2-2/+7
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST to ULONGEST.
1996-11-16 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>Fred Fish2-7/+21
* procfs.c (wait_fd): Handle EINTR error return from poll by restarting the poll. * defs.h (PIDGET): Define a default version that just returns its argument unchanged. * inflow.c (terminal_init_inferior): Eliminate #ifdef of PIDGET and fold both alternatives into common code. (pass_signal): Use PIDGET for pid passed to kill().
1996-11-14Fix warningMichael Meissner1-0/+4
1996-11-14Define ULONGESTMichael Meissner2-0/+10
1996-11-13 (Fix from Jim Wilson)Fred Fish1-1/+1
* c-typeprint.c (cp_type_print_method_args): Pass -1 for show in recursive call to type_print.
1996-11-12Patches to add Irix6 host support.Jim Wilson14-35/+50
1996-11-12Tue Nov 12 12:16:40 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-44/+521
* sh-tdep.c: Add functionality for target function calls. * config/sh/tm-sh.h: Add support for target function calls. This is a safety check-in: everything works, and there'll be another clean-up round shortly.
1996-11-12start-sanitize-m32rMichael Snyder2-38/+80
Tue Nov 12 12:06:58 1996 Michael Snyder <msnyder@cleaver.cygnus.com> * m32r-tdep.c: Add functionality for target function calls. * valops.c: Small change to support target function calls. * config/m32r/tm-m32r.h: Add support for target function calls. This is a safety checkin -- everything works, but there'll be another clean-up round later.
1996-11-12Mon Nov 11 17:15:59 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-14/+20
* defs.h: modify Nov 11 12:59:00 change so _MSC_VER is checked instead of _WIN32 * win32-nat.c: fix Nov 11 12:59:00 change (windows.h should be included instead of windefs.h for compilers other than VC++). * mswin/windefs.h: remove ^Ms and change C++ style comments to C style comments
1996-11-11 * utils.c (get_cell): Fix off-by-one bug.Mark Alexander1-0/+7
* mips-tdep.c (get_frame_pointer, fix_sign_extension): New functions to consolidate common code. (mips_frame_chain, init_extra_frame_info): Use new functions to fix problems with backtrace and finish commands on ddb board.
1996-11-11 * gdb.base/funcargs.c: Use cast rather than "UL" suffix toJeff Law1-0/+5
force argument to an unsigned long type. From Peter Schauer.
1996-11-11 * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,Dawn Perchik9-175/+345
config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. * defs.h: Cleanup; add prototypess * corefile.c: Change FIXME #ifdef * win32-nat.c: Include windefs instead of windows.h. * utils.c: Add routines for printing addresses and registers based on type size.
1996-11-11 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptypeFred Fish1-0/+17
tests and anonymous union print/ptype tests. * gdb.base/list.exp (test_forward-search): Increase timeout by 5 minutes for the "search extremely long line" case. * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is completely optional and that the pass/fail messages use the command as the message if that third arg is a null string. (gdb_test_exact): Arrange that a null string pattern means match a null string output rather than any output, which might include random errors. * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for backtrace test. * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was always failing and failure is now exposed by gdb.exp changes.
1996-11-11 * callch.exp: Add mips*-sgi-irix* xfail forFred Fish4-41/+52
"call king(a, otto[[10, 15], [20, 25]])". * pr-8742.exp: Add mips*-sgi-irix* xfails for "pass int powerset tuple" "pass set powerset tuple" "pass modeless int powerset tuple" and "pass modeless set powerset tuple". * tuples.exp: Add sparc-*-solaris* and sparc-*-sunos* xfails for several "set var" commands that are failing. Convert most of the set commands into gdb_test_exact commands.
1996-11-09 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes thatFred Fish1-0/+5
weren't being noted.
1996-11-09 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.Peter Schauer1-1/+6
* gdb.stabs/weird.exp: Remove v_comb xfails.
1996-11-09 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.Peter Schauer1-0/+6
1996-11-09 * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologuePeter Schauer6-7/+69
if we encounter a positive stack adjustment. (find_proc_desc): If heuristic_fence_post is non-zero, use heuristic_proc_start to determine the start of a function before calling heuristic_proc_desc. * coffread.c (coff_symtab_read): Change minimal symbol types for C_LABEL symbols from mst_* to mst_file_*. * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1. * configure.in: Handle error message from sun3 native ld when configuring HLDFLAGS. * configure: Regenerated with autoconf. * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET. * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure that the virtual base pointer from an user object still points to accessible memory. * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to clear the recently added header_files fields. (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak.
1996-11-08Fri Nov 8 14:30:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-2/+6
* config/tm-sh.h: Added a missing comma in middle of REGISTER_NAMES list.
1996-11-08 * monitor.c: Fix some formatting and comments.Stan Shebs1-0/+2
1996-11-08 * remote-sim.c (simulator_command): Set up callbacks beforeStan Shebs2-3/+12
entering the simulator.
1996-11-07Thu Nov 7 15:19:08 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-26/+71
* d10v-tdep.c: Fix some problems with inferior function calls. * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be a pointer to the dummy's stack instead of just a flag.
1996-11-05Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-26/+52
* gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp list.exp scope.exp watchpoint.exp] Make all timeout error msgs explicitly say "(timeout)". * config/monitor.exp: Increase download timeout to 1000 seconds. * config/m32r.exp: Increase timeout to 120 seconds.
1996-11-05Tue Nov 5 10:21:02 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-31/+45
* m32r-tdep.c: Improved frame_chain and fn prologue analysis. * config/tm-m32r.h: Add framesize and register to extra_frame_info.
1996-11-05 * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.Stu Grossman1-0/+6
* mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth to fix divide-by-zero problem with clicking on source window.
1996-11-04 * mswin/recordit: Fix problem with absolute paths.Stu Grossman1-0/+1
1996-11-04Fix problems introduced in last change (two "Do-first" lines).Jeff Law1-6/+0
1996-11-04 * mswin/recordit: Fix problem with relative paths.Stu Grossman1-0/+4
1996-11-04 * mswin/{Makefile.in configure configure.in}: New files forStu Grossman1-0/+5
configuring wingdb under Unix.
1996-11-03 * gdb.c++/classes.exp: Modify to handle current gcc C++ member orderingFred Fish1-0/+7
and accept older ordering as obsolescent gcc or gdb. * gdb.c++/templates.exp: Ditto. * gdb.c++/virtfunc.exp: Ditto.
1996-11-02 * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): HandlePeter Schauer5-72/+145
missing or zero-sized .text sections properly. * mdebugread.c: Handle scRConst and scSUndefined storage classes. * stabsread.c (scan_file_globals): Try to resolve symbols for shared libraries from the minimal symbol table of the main executable first.
1996-11-01Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-14/+39
* tm-d10v.h: Major fixes to support inferior function calls and proper stack backtracing on D10V-EVA board.
1996-11-01Fri Nov 1 13:59:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-58/+99
* d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support inferior function calls and proper stack backtracing on D10V-EVA board.
1996-11-01 * gdb.base/coremaker.c: Add code to mmap some data so weFred Fish2-9/+40
can check that it ends up in the core file. * gdb.base/corefile.exp: Add test to read mmapped data from core file.
1996-11-01Make gdb compile & link cleanly on powerpc-linuxMichael Meissner2-3/+12
1996-11-01Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder5-23/+94
* m32r-tdep.c: Improved frame_chain and fn prologue analysis. * configure.tgt: Add entry for m32r target. * monitor.h: Add a flag to tell monitor_store_register to use (val, regno) instead of (regno, val). * monitor.c: Make monitor_store_register honor the above flag. Make monitor_exp ignore DC1/DC3 for m32r. Increase buf size in monitor_dump_regs.
1996-10-31.Sanitize for config/m32r.David Edelsohn1-0/+33
1996-10-31Filter changes for m32r target.Michael Snyder2-0/+43
1996-10-31Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-0/+19
* config/m32r.exp: New file.
1996-10-31Keep changes, if m32r.Michael Snyder1-0/+14
1996-10-31Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-1/+600
* m32r-tdep.c, m32r-rom.c: New files. * config/m32r/m32r.mt: New file. * config/m32r/tm-m32r.h: New file.
1996-10-31Keep new files, modulo m32r.Michael Snyder1-0/+41
1996-10-30Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-14/+11
* config/i386/xm-cygwin32.h: * config/powerpc/xm-cygwin32.h: add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly truncated
1996-10-29Allow bi-endian support in PowerPCMichael Meissner1-0/+5
1996-10-29 * TODO: Add item suggesting an "info bfd" command.Stan Shebs2-0/+7
1996-10-29Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-7/+12
* tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. (TARGET_READ_FP,TARGET_WRITE_FP): Define.