aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-09-02 * tuiWin.c (_newHeightOk): Fix compilation warnings.Stephane Carrez2-2/+6
2002-09-02 * gdb.texinfo (TUI Overview): Document status line fields.Stephane Carrez2-0/+33
2002-09-02 * gdb.texinfo (TUI Commands): Document info win command.Stephane Carrez2-0/+8
2002-09-02* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) toJason Thorpe7-6/+22
dependency list. * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set solib_svr4_fetch_link_map_offsets to nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, and solib-legacy.o. * config/i386/tm-nbsd.h: Include solib.h.
2002-09-02* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...Jason Thorpe5-33/+13
(i[3456]86-*-netbsd*): ...this. Set gdb_target to nbsd. (i[3456]86-*-openbsd*): Make this a separate entry. Add a comment noting that this needs its own target configuration. * config/i386/nbsd.mt: New file. * config/i386/nbsdaout.mt: Remove. * config/i386/nbsdelf.mt: Ditto. * config/i386/tm-nbsdaout.h: Ditto.
2002-09-02* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.Jason Thorpe3-27/+99
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset. (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or tdep->sigtramp_end. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove. * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END) (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
2002-09-02*** empty log message ***gdbadmin1-1/+1
2002-09-01* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),Jason Thorpe7-63/+109
$(i386_tdep_h), and nbsd-tdep.h to dependency list. * i386-tdep.h (i386bsd_init_abi): New prototype. * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from function declaration. (_initialize_i386bsd_tdep): Don't register OS ABI handlers for NetBSD-a.out or NetBSD-ELF. (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end) (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset) (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to... * i386nbsd-tdep.c: ...here. Include arch-utils.h, i386-tdep.h, and nbsd-tdep.h. (i386nbsd_pc_in_sigtramp): New function. (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to i386nbsd_pc_in_sigtramp. (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi and i386nbsdelf_init_abi OS ABI handlers. * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o. * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2002-09-01*** empty log message ***Mark Kettenis1-3/+0
2002-09-01* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSEMark Kettenis2-2/+12
registers if the target really has them. * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h". Fix some whitespace problems.
2002-09-01 * tuiWin.c (_tuiAllWindowsInfo): Don't crash if the windowStephane Carrez2-1/+6
is not displayed.
2002-09-01 * tui-out.c (tui_out_new): Clear start_of_line.Stephane Carrez3-3/+9
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines to update the current source line.
2002-09-01 * tui-hooks.c (tui_detach_hook): New hook to know when a process dies.Stephane Carrez2-0/+17
(tui_install_hooks): Install it. (tui_remove_hooks): Remove it.
2002-09-01 * tuiData.h (FILE_PREFIX): Don't define.Stephane Carrez3-304/+15
(blankStr, locationStr, breakStr): Don't declare. (breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Likewise. (displayableWinContentOf, displayableWinContentAt): Likewise. (winElementHeight, winByName, freeAllWindows): Likewise. * tuiData.c (blankStr, locationStr, breakStr): Remove. (breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Remove. (displayableWinContentOf, displayableWinContentAt): Remove. (winElementHeight, winByName, freeAllWindows): Remove.
2002-09-01 * tuiStack.c (tui_make_status_line): New function to create theStephane Carrez3-18/+185
status line. (tuiShowLocatorContent): Use it instead of displayableWinContentAt. * tuiData.h (PROC_PREFIX): Use "In:" to reduce length of prefix. (PC_PREFIX): Use upper case. (SINGLE_KEY, MIN_LINE_WIDTH, MIN_PROC_WIDTH): Define. (MAX_TARGET_WIDTH, MAX_PID_WIDTH): Define.
2002-09-01 * gdb.texinfo (TUI Overview): Document breakpoint markers.Stephane Carrez2-2/+35
2002-09-01 * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.Stephane Carrez2-1/+73
(TUI Keys): Likewise.
2002-09-01*** empty log message ***gdbadmin1-1/+1
2002-08-31* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) ratherJason Thorpe1-0/+5
than nbsd-tdep.h. (ChangeLog check-in missed in previous commit.)
2002-08-31* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) ratherJason Thorpe1-1/+1
than nbsd-tdep.h.
2002-08-31* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependencyJason Thorpe3-3/+39
list. * alphanbsd-tdep.c (alphanbsd_sigcontext_addr) (alphanbsd_skip_sigtramp_frame): New functions. (alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to alphanbsd_skip_sigtramp_frame. Set tdep->sigcontext_addr to alphanbsd_sigcontext_addr.
2002-08-31* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependencyJason Thorpe10-5/+65
list. (nbsd-tdep.o): Add $(gdb_string_h) to dependency list. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp. * mipsnbsd-tdep.c: Include nbsd-tdep.h. (mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp. * nbsd-tdep.c: Include gdb_string.h. (nbsd_pc_in_sigtramp): New function. * nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype. * ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function. (ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to ppcnbsd_pc_in_sigtramp. * shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function. (shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to shnbsd_pc_in_sigtramp. * sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp. * config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
2002-08-31 * tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.Stephane Carrez4-30/+12
(tuiClearAllExecInfosContent): Likewise. (tuiEraseAllExecInfosContent): Ditto. (tuiUpdateSourceWindowsFromLocator): Ditto. * tuiSourceWin.c (tuiUpdateAllExecInfos): Remove. * tui.h (tui_vCheckDataValues): Don't declare. (tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise. (tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto. (tui_vShowFrameInfo): Ditto.
2002-08-312002-08-31 Stephane Carrez <stcarrez@nerim.fr>Stephane Carrez5-4/+187
* tui.c (tui_commands): Table of single key commands. (tui_rl_command_key): New function to execute gdb command. (tui_rl_command_mode): New function to temporarily leave SingleKey. (tui_rl_next_keymap): New function to enter/leave the SingleKey mode. (tui_rl_startup_hook): New function to avoid prompt display by readline functions. (tui_set_key_mode): New function to set the key mode and install the readline keymap. (tui_initialize_readline): Create TUI SingleKey readline map. (tui_enable): Install rl_startup_hook. (tui_disable): Remove it. * tui.h (enum tui_key_mode): Declare. (tui_set_key_mode, tui_current_key_mode): Declare. * tuiIO.c (tui_redisplay_readline): Don't display the prompt in SingleKey mode. * tuiIO.h (tui_redisplay_readline): Declare.
2002-08-31*** empty log message ***gdbadmin1-1/+1
2002-08-30 * tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous andStephane Carrez2-9/+20
current line.
2002-08-30 * tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.Stephane Carrez2-91/+29
(_hasBreak): Remove. (tuiShowSource): Fix comment indentation. (tuiSourceIsDisplayed): Likewise. (tuiVerticalSourceScroll): Likewise.
2002-08-30 * tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.Stephane Carrez6-154/+152
(tui_update_breakpoint_info): Declare. (tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove. * tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint information using tui_update_breakpoint_info. (tui_update_all_breakpoint_info): New function to refresh all execution windows. (tui_update_breakpoint_info): New function to recompute the status of exec info window from breakpoints. (tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove. (tuiSetExecInfoContent): Use the exec info flags computed by tui_update_breakpoint_info to display a short status about breakpoints. * tuiData.h (TuiExecInfoContent): New for exec info string. (TuiWhichElement): Use it. (TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines. (TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines. (TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise. (TUI_EXECINFO_SIZE): Likewise. * tuiData.c (initContentElement): Clear exec info string. * tui-hooks.c (get_breakpoint): Remove. (tui_event_create_breakpoint): Call tui_update_all_breakpoint_info. (tui_event_delete_breakpoint): Likewise. (tui_event_modify_breakpoint): Likewise.
2002-08-302002-08-30 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+28
* breakpoint.c (breakpoint_init_inferior): Reset the val field of watchpoints to NULL. (insert_breakpoints): set val field of watchpoints if NULL.
2002-08-30* symtab.c (lookup_symbol_aux): In the cases where we find aJim Blandy2-8/+25
minimal symbol of an appropriate name and use its address to select a symtab to read and search, use `name' (as passed to us) as the demangled name when searching the symtab's global and static blocks, not the minsym's name.
2002-08-30*** empty log message ***gdbadmin1-1/+1
2002-08-29* gdb.threads/pthreads.exp: Move the portable thread compilationJim Blandy3-29/+45
code into a function in lib/gdb.exp, and call that from here. * lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-29 * stack.c (print_frame_info_base): Always set current_source_symtabKeith Seitz2-4/+11
and current_source_line.
2002-08-29 * linux-low.c (linux_create_inferior): Call setpgid. ReturnDaniel Jacobowitz5-41/+49
the new PID. (unstopped_p, linux_signal_pid): Remove. (linux_target_ops): Remove linux_signal_pid. * remote-utils.c (putpkt, input_interrupt): Use signal_pid global instead of target method. * target.h (struct target_ops): Remove signal_pid. Update comment for create_inferior. * server.c (signal_pid): New variable. (create_inferior): Set signal_pid. Block SIGTTOU and SIGTTIN in gdbserver. Set the child to be the foreground process group. (attach_inferior): Set signal_pid.
2002-08-29 * lib/mi-support.exp (mi_gdb_test): Add global declaration forKeith Seitz2-1/+6
expect_out so that callers can get at it.
2002-08-29 * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).Joel Brobecker2-2/+6
2002-08-29*** empty log message ***gdbadmin1-1/+1
2002-08-28 * tui.c (tuiGetLowDisassemblyAddress): Moved from here.Stephane Carrez3-25/+25
* tuiDisassem.c (tuiGetLowDisassemblyAddress): To here, and use tui_find_disassembly_address to find the starting address of disassemble window.
2002-08-28 * stack.c (select_frame): Add FIXME concerning selected-frameKeith Seitz2-2/+25
events. (select_frame_command): Send selected-frame-level-changed event notification, but only if the level actually changed. (up_silently_base): Add selected-frame-level-changed event notification. (down_silently_base): Likewise.
2002-08-28Update all .c dependencies.Andrew Cagney2-836/+705
2002-08-28*** empty log message ***gdbadmin1-1/+1
2002-08-27 * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,Tom Tromey12-10/+41
ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o): Update dependencies. * i387-tdep.c: Include gdb_string.h. * osabi.c: Likewise. * i386-linux-nat.c: Likewise. * lin-lwp.c: Likewise. * ax-gdb.c: Likewise. * signals/signals.c: Likewise. * jv-valprint.c: Likewise. * p-lang.c: Likewise. * c-valprint.c: Likewise. * cp-abi.c: Likewise.
2002-08-27 * tuiDisassem.c (tui_disassemble): New function to disassembleStephane Carrez4-114/+254
several lines in a buffer. (tui_find_disassembly_address): New function to search backward or forward a disassembly line. (tuiSetDisassemContent): Use tui_disassemble to obtain the real content and format it in the window. (tuiShowDisassemAndUpdateSource): Remove unused locals. (tuiVerticalDisassemScroll): Use tui_find_disassembly_address to obtain the address to disassemble for the scrolling. * tuiDisassem.h (tuiGetBeginAsmAddress): Update. * tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Don't pass symtab.
2002-08-27 * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.Stephane Carrez2-0/+8
2002-08-272002-08-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-1/+18
* cli/cli-script.h (copy_command_lines): Export. * breakpoint.c: Include cli/cli-script.h. * Makefile.in (breakpoint.o): Update dependencies.
2002-08-272002-08-26 Joel Brobecker <brobecker@gnat.com>Michael Snyder4-13/+171
* cli/cli-script.c (copy_command_lines): New function. * defs.h (copy_command_lines): Export. * testsuite/gdb.base/commands.exp: New tests for commands attached to a temporary breakpoint, and for commands that delete the breakpoint they are attached to. 2002-08-26 Michael Snyder <msnyder@redhat.com> * breakpoint.c (bpstat_stop_status): Instead of copying the pointer to the breakpoint commands struct, make a new copy of the struct and point to that. (bpstat_clear): Free the commands struct. (bpstat_clear_actions): Free the commands struct. (bpstat_do_actions): Free the command actions. Also execute the local cleanups, instead of deleting them. (delete_breakpoint): Leave the commands field of the bpstat chain alone -- it will be freed later.
2002-08-27*** empty log message ***gdbadmin1-1/+1
2002-08-26 * rs6000-tdep.c (altivec_register_p): Restore function inadvertentlyKevin Buettner2-0/+17
deleted in 2002-08-20 commit. This function is still used by ppc-linux-nat.c.
2002-08-26 * gdb-events.sh: Add selected-frame-level-changed event.Keith Seitz4-1/+42
* gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2002-08-26 Fix PR gdb/393:Stephane Carrez2-0/+13
* tui.c (tui_disable): Update gdb's knowledge of its terminal using target_terminal_save_ours. (tui_enable): Likewise.