aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-05-17 * gdbtk.tcl (gdb_prompt): Set this early on.Fred Fish3-3/+36
(create_command_window): Use gdb_prompt rather than "(gdb) ". (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. (tclsh): If an evaluation window already exists, just bring it to the front instead of trying to create another. * gdbtk.c (tk_command_loop): New function. (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
1996-05-16 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions thatFred Fish2-0/+67
implement a tcl evaluation window for gdbtk maintainers to use.
1996-05-16 * gdbtk.tcl (files_command): Correctly insert list of files intoTom Tromey2-15/+5
listbox widget.
1996-05-16 * gdbtk.tcl (files_command): listbox command no longer acceptsTom Tromey2-1/+6
-geometry.
1996-05-16 * top.c (read_next_line): Fix thinkos. From Don Seeley.Jeff Law2-2/+4
Net buglet.
1996-05-16 * gdbtk.tcl (create_command_window): If command window's bufferStan Shebs2-6/+24
is disabled, don't execute any of the key bindings.
1996-05-15 * gdb.base/break.exp: Ignore compiler warnings when compilingJeff Law1-0/+20
break.c. * gdb.base/callfuncs.exp: Don't run these tests on the h8300. * gdb.base/default.exp: Add h8300 xfails. Handle messages from remote-sim. * gdb.base/exprs.exp: Add h8300 xfails. * gdb.base/funcargs.exp: Likewise. * gdb.base/nodebug.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add h8300 xfails. * gdb.base/return.exp: Handle float/double precision problems on the h8300. * gdb.base/funcargs.c: Explicitly make last constant argument to call_after_alloca_subr an unsigned long type. * gdb.base/return.c: Include stdio.h. Testsuite work for the H8/300 -gstabs. HMSE.
1996-05-15 * coffread.c (coff_symtab_read): Handle C_LABEL symbols likeJeff Law4-3/+24
C_STAT symbols. * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. Flush cached frames just before exiting. * remote-sim.c (gdbsim_resume): Complain if the program isn't being run. * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. Fix some bugs exposed by the testsuite. HMSE.
1996-05-15 * procfs.c (procfs_thread_alive procfs_stop): Make static.Stu Grossman4-21/+48
* (procfs_pid_to_str): New routine to print out thread id's in an intelligible manner. * sol-thread.c (sol_thread_fetch_registers): Re-order manner in which supply_register is called to fix bug with writing writing individual regs. * config/sparc/tm-sun4sol2.h: Define default for target_pid_to_str in case host lacks libthread_db.
1996-05-14 * Makefile.in config.in configure configure.inStu Grossman8-34/+86
config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread and pthread support, since pre-2.5 systems don't come with libthread_db.so.1. * procfs.c (info_proc): Use int instead of id_t. Old versions of Irix don't see to define this.
1996-05-14 * gdbtk.c (tk_command): Catch case where no argument is givenFred Fish2-0/+13
since this will cause the tcl interpreter to dump core.
1996-05-13 * top.c (execute_control_command, case while_control): AllowJeff Law2-0/+7
a while command to be interrupted. Fixes net bug.
1996-05-13 * sol-thread.c: More cleanup, add comments.Stu Grossman2-33/+145
* (sol_thread_resume): Prevent people from trying to step inactive threads. * (sol_thread_wait sol_thread_fetch_registers sol_thread_store_registers): Remove unnecessary check for sol_thread_active. These routines won't get called unless threads are active.
1996-05-13 SH3-E support from Allan Tajii <atajii@hmsi.com>:Stan Shebs4-17/+144
* sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for float registers. (sh3e_reg_names): New register name array. (sh_processor_type_table): Add sh3e processor type. * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test. (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for full set of registers. * remote-e7000.c (want_sh3, want_sh3_nopc): New globals. (e7000_fetch_registers, e7000_wait): Use them. * sh3-rom.c (sh3_regnames): Add float registers. (sh3e_cmds, sh3e_ops): New globals. (sh3e_open): New function. (_initialize_sh3_rom): Rename from _initialize_sh3, set up sh3e target vector. * gdbwin.c (reg_order) [TARGET_SH]: Update for SH3-E. * initfake.c: Call _initialize_sh3_rom instead of _initialize_sh3.
1996-05-10 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.Stu Grossman2-173/+265
Print out messages instead of codes for thread_db errors. Make access macros for thread and lwp manipulation. Make cleanups to fixup inferior_pid in case of errors.
1996-05-10 * aclocal.m4: Remove unused definition of AC_C_CROSS.Fred Fish3-22/+9
* configure.in: Add powerpcle-*-solaris* host and target config so April 30th change does not get lost next time configure is rebuilt.
1996-05-09 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,Stu Grossman13-20/+27
infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to avoid conflict with Solaris /usr/include/thread.h.
1996-05-09 * abug-rom.c: Config file for the older style ABug monitor thatgRob Savoye3-0/+179
runs on the mvme13x boards. * config/m68k/monitor.mt: Add abug support for m68k croos debugging.
1996-05-09 * infcmd.c (do_registers_info): Always print the raw floatingFred Fish1-1/+4
point value's bytes in big endian order, so the the leftmost bit is the most significant. PR-9540
1996-05-08 * breakpoint.c (clear_momentary_breakpoints): Remove dead codeFred Fish4-174/+77
that is referenced nowhere else. (set_breakpoint): Ditto. (do_enable_breakpoint): Created from enable_once_breakpoint with a couple of changes. (enable_breakpoint): Call do_enable_breakpoint with an appropriate bpdisp enum value to set disposition of breakpoint. (enable_once_breakpoint): Ditto. (enable_delete_breakpoint): Ditto. * breakpoint.h (clear_momentary_breakpoints): Remove prototype. * symtab.c (find_pc_line): Improve comments. * gdbtk.c: Fix a couple of misspellings. * xcoffread.c: Ditto.
1996-05-08 * config/abug.exp: New file for the older Motorola Bug monitorRob Savoye3-10/+32
that runs on the mvme13x series VME boards. * config/monitor.exp: Use the new config array for target settings if they exist.
1996-05-08 * target.c (debug_to_xfer_memory): Insert line breaks whenStan Shebs1-0/+5
dumping the memory block.
1996-05-06 * fork-child.c (fork_inferior), inferior.h: init_trace_fun nowStu Grossman12-271/+1962
returns a possibly modified pid. * inftarg.c (ptrace_him): Now returns pid; * m3-nat.c (m3_trace_him): Now returns pid; * infcmd.c (run_command): Minor cleanup. * infrun.c (wait_for_inferior): Add another check for one_stepped near where we read the pc to avoid erroneously setting random_signal for multi-threaded support. * procfs.c: Add support for Solaris LWPs. Remove def of LOSING_POLL. Many cleanups... Several workarounds for Solaris lossage. System call entry and exit are now handled by dynamically registered handlers. * (syscallname): Don't barf when handed an unknown syscall number. * (info_proc_syscalls): Ditto. * sol-thread.c: New file. Implements Solaris thread support. * symfile.c (symbol_file_add): Add call to target_new_objfile to notify target-dependent code about new symbol tables. * (clear_symtab_users): Call target_new_objfile to notify it of the removal of all symbol tables. * target.c (push_target): Make sure that to_close is non-zero before calling it. * target.h (target_new_objfile): Provide default. * config/alpha/nm-osf2.h: Define LOSING_POLL because this version of OSF can't hack using poll with /proc. * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be sol-thread-new-objfile. * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and add libthread_db.so.1 to NAT_CLIBS. * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and target_pid_to_str.
1996-05-06Do not do XCOFF hoooks for ELF systemsMichael Meissner2-9/+17
1996-05-03 * sim-gdb.exp: Make the SH simulator allocate less space whenStan Shebs2-1/+17
it is targeted.
1996-05-03 * gdbtk.tcl (debug_interface): New global, use to aid debugging.Stan Shebs2-56/+84
(insert_breakpoint_tag, delete_breakpoint_tag): Fix range. (file_popup_menu): Delete, never used. (listing_window_popup): Rename from listing_window_button_1, remove breakpoint toggling code. (toggle_breakpoint): New procedure. (create_file_win): Bind popup menu to button 2, toggle breakpoints with button 1 in breakpoint area, add display of tagged areas if debugging on.
1996-05-02 * From Peter Schauer:Jeff Law3-81/+179
* breakpoint.h (enum bpdisp): Add del_at_next_stop. * breakpoint.c (insert_breakpoints, watchpoint_check, bpstat_stop_status): Avoid bad references to memory freed via delete_breakpoint on watchpoints going out of scope. Do not delete these watchpoints, disable them and change their disposition to del_at_next_stop instead. (breakpoint_auto_delete): Delete all breakpoints whose disposition is del_at_next_stop. (breakpoint_init_inferior): Use switch to avoid reference to already deleted breakpoint. Fixes dangling pointer problems with watchpoints.
1996-05-02 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtraceJeff Law1-0/+20
test.
1996-05-02 * Makefile.in (rs6000-nat.o): Dependant on xcoffsolib.h.Fred Fish7-17/+69
* config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ... * config/rs6000/rs6000.mt (TDEPFILES): ... to here * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize. (solib_info): Call xcoff_relocate_symtab via the hook. (sharedlibrary_command): Ditto. * xcoffread.c: Remove all FAKING_RS6000 comments and defines. (xcoff_add_toc_to_loadinfo_hook): Define and initialize here. (xcoff_init_loadinfo_hook): Define and initialize here. (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook. (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook. * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func. * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook. * rs6000-nat.c (_initialize_core_rs6000): Add initialization of xcoff_relocate_symtab_hook.
1996-04-30Add bieginning of Solaris/PowerPC supportMichael Meissner7-1/+143
1996-04-29 * c-valprint.c (c_val_print): Fix printing for arrays definedDawn Perchik2-0/+6
with 0 length.
1996-04-28 Support for bi-endian remote breakpoints.Stan Shebs3-14/+67
* remote.c (big_break_insn, little_break_insn): New globals. (break_insn): Remove. (remote_insert_breakpoint, remote_remove_breakpoint): Use own code if REMOTE_BREAKPOINT defined, otherwise call memory breakpoint functions. * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove. (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
1996-04-28 * mon960-rom.c (mon960_cmds): Remove forward decl.Stan Shebs2-12/+17
(mon960_load): Use current_monitor instead of mon960_cmds. (mon960_regnames): Remove backslashes from line ends. (_initialize_mon960): Fix documentation string.
1996-04-28 * symfile.h (psymbol_allocation_list): Expand comments whichFred Fish1-0/+6
describe the psymbol allocation list and how each field is used.
1996-04-28 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->expPeter Schauer3-5/+31
storage leaks. (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks. * infcmd.c (run_command), solib.c (locate_base): Check for target_has_execution in addition to inferior_pid, a core file from a threaded program is yielding a non-zero inferior_pid. * sparc-tdep.c (get_saved_register): Handle window registers in a dummy frame correctly.
1996-04-28 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,Fred Fish2-6/+17
so that anything that wants an allocation function not yet pulled in, will get it from mmalloc rather than a system library. * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS, to avoid surprising results when used.
1996-04-28Fix typo in ChangeLog entry.Jeff Law1-1/+1
1996-04-28Remove some #if 0 code which creeped into wait_for_inferior duringJeff Law1-4/+0
my previous change.
1996-04-27 * stabsread.c: Changes and bug fixes for cfront support.Dawn Perchik2-12/+204
Fix bug for class data members. Fix parsing bug when no base classes exist. Fix memory bug - allocate space for cplusplus specific info. Add support for static data. Add prototypes for static functions. Enhance comments to show what each function expects to parse. Cleanup code. * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename function to resolve_cfront_continuation.
1996-04-27 * infrun.c (wait_for_inferior): Call registers_changed whenJeff Law2-0/+12
restarting the inferior to get over a nullified instructions. Fixes PA testsuite regressions.
1996-04-24 Forgot to checkin ChangeLog with last checkin for cfront support.Dawn Perchik1-0/+4
1996-04-24 Add new support for parsing cfront stabs.Dawn Perchik4-16/+814
1996-04-24 * infrun.c (wait_for_inferior): Move "have_waited" labelJeff Law2-5/+36
outside of #ifdef conditionals. Don't trash the wait status if we get a signal and the current instruction is nullified. Fixes long standing problem on the PA (spurious SIGTRAPs)..
1996-04-23 * Makefile.in (VERSION): Bump version number to 4.16.1Fred Fish1-28/+83
* NEWS: Update for 4.16 release.
1996-04-22 * monitor.h: Clean up comment formatting.Stan Shebs3-100/+98
(current_monitor): Remove decl. (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions. (push_monitor, SREC_SIZE): Remove. * monitor.c: Expand old macro into current_monitor derefs everywhere. * remote-os9k.c (current_monitor): Remove definition.
1996-04-22Consistently use address <fnf@cygnus.com> for entries.Fred Fish1-5/+5
1996-04-22 * corefile.c (specify_exec_file_hook): Allow arbitrary number ofMark Alexander3-11/+91
hooks. (call_extra_exec_file_hooks): New function. * h8300-tdep.c: Lint; add .h files to provide missing declarations, remove unused variables. (set_machine_hook): New function. (_initialize_h8300m): Initialize it. PR 8849.
1996-04-19 * remote-mips.c (encoding): Don't specify size, to avoid bug inIan Lance Taylor2-1/+6
SunOS native compiler.
1996-04-19 * monitor.c: Use int rather than LONGEST for values, sinceStan Shebs2-61/+126
the formatting strings are not prepared to accept long longs. PR 9432
1996-04-18 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.David Edelsohn1-0/+4