aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-11-27 * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.Mark Alexander3-70/+130
(mips_addr_bits_remove): Declare. * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post errors when hitting breakpoints during inferior function calls in 64-bit programs. (fix_sign_extension): Make public, rename to mips_addr_bits_remove. * utils.c (paddr_nz, preg_nz): New functions, similar to paddr and preg but don't print leading zeroes. * defs.h (paddr_nz, preg_nz): Declare. * remote-mips.c: Use paddr_nz instead of paddr throughout to reduce packet size. (pmon_end_download): Improve timeout error handling.
1996-11-26 * configure, */configure: Rebuild with autoconf 2.12.Ian Lance Taylor5-108/+407
1996-11-26 * configure: Rebuild with autoconf 2.12.Ian Lance Taylor2-220/+490
1996-11-25 From: Paul Eggert <eggert@twinsun.com>Fred Fish2-1/+15
* remote-bug.c (wait_strings): Avoid creating a trigraph.
1996-11-23 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails toFred Fish1-1/+1
use new i*86-pc-linux*-gnu quads. * gdb.base/corefile.exp: Ditto. * gdb.base/signals.exp: Ditto. * gdb.base/sigall.exp: Ditto. * gdb.base/interrupt.exp: Ditto. * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail "i*86-*-linux" for "signal SIGUSR1". Now works, at least with RedHat 4.0. * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is linux. This allows the test case to at least compile on latest linux, but still not run due to missing the threads runtime library.
1996-11-23 * misc.exp: Change x86 linux setup_xfails to use newFred Fish5-10/+23
i*86-pc-linux*-gnu quads. * tuples.exp: Ditto. * tests2.exp: Ditto. * pr-5016.exp: Ditto. * tuples.exp: Add i*86-pc-linux-gnu setup_fail to existing xfails for 'set var vs1 := [ "bar", 42, m_ps[ a ] ]', 'set var $i := m_s1["foo", 44, m_ps[a ]]', and 'set var vs2 := [ 10+3, m_s1[ "foo" , 42, m_ps[ b ]]]'.
1996-11-22Fri Nov 22 15:55:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-10/+2
* valops.c (value_at, value_fetch_lazy): Put in D10V call to fix up address pointers. * values.c (value_from_longest): Removed previous d10v changes. * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes.
1996-11-22 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize sourcePeter Schauer2-3/+33
directory to search gdb directory. Accept and step over conditional stack alignment code. Consume $prompt in failure cases. Reset timeout to $oldtimeout instead of some arbitrary value. * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid timeout problems with infinite stack backtraces. * gdb.base/ptype.exp (ptype struct link, union tu_link): Accept function parameters for linkfunc member.
1996-11-22 * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed forPeter Schauer1-0/+5
Unixware 1.1.2.
1996-11-22 * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.Mark Alexander3-116/+352
(common_breakpoint): Use paddr instead of %x to print 64-bit values. (heuristic_proc_desc): Add tests for 64-bit instructions. (init_extra_frame_info, mips_push_arguments): Recognize additional registers for EABI. * remote-mips.c: Extend DDB target to allow TFTP downloads. * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS): Define.
1996-11-21 * lib/gdb.exp (CFLAGS): Remove, unreferenced.Fred Fish1-0/+19
(CXXFLAGS): Remove, unreferenced. (B_OPTIONS): Add for -B options and add code to initialize with previous -B options and also add -B option to pick up cross compiled runtime. (TARGET_INCLUDES): Add for -I options and add code to initialize when doing cross compiles. (target_alias): Declare global. (xgcc): Set variable to full path of gcc in build tree. Use findfile to verify that gcc exists in build tree, and if so set CC to that gcc and to use B_OPTIONS and TARGET_INCLUDES.
1996-11-21Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+23
* tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified. (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM. (REGISTER_CONVERTIBLE): Make PC and SP convertible. (REGISTER_CONVERT_TO_VIRTUAL): Define. (REGISTER_CONVERT_TO_RAW): Define. (D10V_MAKE_DADDR): Define. (D10V_MAKE_IADDR): Define.
1996-11-21Wed Nov 20 19:09:16 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-0/+41
* infcmd.c (do_registers_info): Call val_print with the virtual buf instead of the raw buf. Needed for REGISTER_CONVERT to work with non-floating point regs. start-sanitize-d10v * d10v-tdep.c (d10v_skip_prologue): If we have line debugging information, then the end of the prologue should the first assembly instruction of the first source line. * values.c (value_from_longest): Put in D10V call to fix up address pointers. * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified. (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM. (REGISTER_CONVERTIBLE): Make PC and SP convertible. (REGISTER_CONVERT_TO_VIRTUAL): Define. (REGISTER_CONVERT_TO_RAW): Define. (D10V_MAKE_DADDR): Define. (D10V_MAKE_IADDR): Define. end-sanitize-d10v
1996-11-21Wed Nov 20 16:15:15 1996 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-0/+6
* config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC) -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb
1996-11-20Fix a sanitization boobooStan Shebs1-12/+15
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.