aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-26 Fix PR gdb/393:Stephane Carrez14-0/+73
* inflow.c (terminal_save_ours): New function to save terminal settings. * inferior.h (terminal_save_ours): Declare. * target.c (debug_to_terminal_save_ours): New function. (cleanup_target): Defaults to_terminal_save_ours. (update_current_target): Inherit to_terminal_save_ours. (setup_target_debug): Set to_terminal_save_ours. * target.h (target_terminal_save_ours): New to save terminal settings. (target_ops): New member to_terminal_save_ours. * gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours. * hpux-thread.c (init_hpux_thread_ops): Likewise. * inftarg.c (init_child_ops): Likewise. * m3-nat.c (init_m3_ops): Likewise. * procfs.c (init_procfs_ops): Likewise. * wince.c (init_child_ops): Likewise. * win32-nat.c (init_child_ops): Likewise. * sol-thread.c (init_sol_thread_ops): Likewise.
2002-08-26* i386-tdep.c (i386_store_return_value): Undeprecate. Convert toMark Kettenis2-13/+18
use regcache_* functions. (i386_gdbarch_init): Set store_return_value instead of deprecated_store_return_value.
2002-08-26 * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.Alan Modra2-0/+5
2002-08-26 * gas/m68hc11/insns.d: Quote dots.Alan Modra3-3/+6
* gas/m68hc11/opers12.d: Likewise.
2002-08-26 * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.Alan Modra2-8/+9
2002-08-26 * gas/vax/quad.exp: Use quad_elf.s for ELF targets.Alan Modra4-1/+13
* gas/vax/quad.s: Align * gas/vax/quad_elf.s: New version of quad.s with %reg.
2002-08-26 * gas/sparc/sparc.exp (sparc_elf_setup): New.Alan Modra2-0/+14
Use it to xfail for non-ELF targets.
2002-08-26 * gas/tic54x/align.s: Add comment.Alan Modra4-4/+9
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change. * gas/tic54x/extaddr.d: Similarly adjust disassembly tail.
2002-08-26 * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.Alan Modra2-5/+9
2002-08-26 * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" onAlan Modra2-2/+8
stdout. (strip_executable): Likewise.
2002-08-26 * nm.c (display_rel_file): Don't report "no symbols" as an error.Alan Modra3-17/+12
* objdump.c (slurp_symtab): Likewise. (slurp_dynamic_symtab): Likewise. (dump_symbols): Likewise. Do print "no symbols" to stdout.
2002-08-26 * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.Alan Modra2-0/+11
2002-08-26 * config/tc-w65.c (md_section_align): Fix typo.Alan Modra2-2/+7
(md_parse_option): Return 0, not 1.
2002-08-26 * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.Alan Modra2-0/+5
2002-08-26*** empty log message ***gdbadmin1-1/+1
2002-08-26daily updateAlan Modra1-1/+1
2002-08-25* regcache.c (regcache_raw_write_signed,Mark Kettenis3-0/+34
regcache_raw_write_unsigned): New functions. * regcache.h (regcache_raw_write_signed, regcache_raw_write_unsigned): New prototypes.
2002-08-25 * tui.c (tui_rl_switch_mode): Renames tui_switch_mode.Stephane Carrez2-14/+22
(tui_rl_change_windows): Renames tui_change_windows. (tui_rl_delete_other_windows): Renames tui_delete_other_windows. (tui_initialize_readline): Update.
2002-08-252002-08-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-48/+61
* Makefile.in (c-exp.tab.o, jv-exp.tab.o, f-exp.tab.o) (m2-exp.tab.o, p-exp.tab.o, ada-exp.tab.o): Move to before the source file dependencies. Cleanup corresponding generator rules.
2002-08-25 * tuiDisassem.c (tuiSetDisassemContent): Use breakpoint_here_p.Stephane Carrez2-44/+7
(_hasBreak): Remove.
2002-08-25 * tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbolStephane Carrez2-8/+19
to find symbol address.
2002-08-25 * tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunctionStephane Carrez5-23/+14
and use tuiGetBeginAsmAddress. * tuiSourceWin.h (tui_display_main): Declare. * tui.h (tuiDisplayMainFunction): Remove. * tui-hooks.c (tui_new_objfile_hook): Update.
2002-08-252002-08-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-16/+21
* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-'' for a packet receive.
2002-08-25 * tuiSource.h (m_tuiShowSourceAsIs): Remove macro.Stephane Carrez2-9/+6
(tuiShowSourceAsIs): Don't declare.
2002-08-252002-08-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-1/+135
* regcache.h (register_offset_hack): Declare. (regcache_cooked_read_using_offset_hack): Declare. (regcache_cooked_write_using_offset_hack): Declare. * regcache.c (register_offset_hack): New function. (regcache_cooked_read_using_offset_hack): New function. (regcache_cooked_write_using_offset_hack): New function. (regcache_dump): Check that the registers, according to their offset, are packed hard against each other. (cooked_xfer_using_offset_hack): New function.
2002-08-25 * tui-hooks.c (tui_selected_frame_level_changed_hook): Always updateStephane Carrez2-4/+9
the frame position.
2002-08-25 * tuiStack.c (tuiSetLocatorContent): Remove.Stephane Carrez2-90/+46
(tuiUpdateLocatorInfoFromFrame): Remove. (tui_set_locator_info): Allocate the content buffer if necessary. (tui_set_locator_filename): Call tui_set_locator_info directly. (tuiShowFrameInfo): Likewise and use find_pc_line instead of find_pc_symtab.
2002-08-252002-08-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-24/+77
* regcache.c (struct regcache_descr): Add field register_type. (init_legacy_regcache_descr): Pass a pre-allocated regcache_descr in as a parameter (init_regcache_descr): Initialize register_type. Pass the descr to init_legacy_regcache_descr. Use register_type instead of REGISTER_VIRTUAL_TYPE. (register_type): New function. (regcache_dump): Replace REGISTER_VIRTUAL_TYPE with register_type. * regcache.h (register_type): Declare.
2002-08-252002-08-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+7
* rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return instead of deprecated_store_return_value. Fix fallout from 2002-08-23 Andrew Cagney <cagney@redhat.com>.
2002-08-252002-08-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-0/+25
* regcache.c (max_register_size): New function. (init_legacy_regcache_descr): Ensure that max_register_size is large enough for REGISTER_VIRTUAL_SIZE. * regcache.h (max_register_size): Declare.
2002-08-252002-08-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-27/+43
* Makefile.in (clean): Move to end of file. (distclean, maintainer-clean, realclean): Ditto. (mostlyclean): Move rule to end of file. Use GDB_TEX_TMPS, GDBINT_TEX_TMPS, STABS_TEX_TMPS. (gdb.dvi, gdb.pdf): Do not cleanup TeX temp files after texi2dvi. (gdbint.dvi, gdbint.pdf, stabs.dvi, stabs.pdf): Ditto.
2002-08-252002-08-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-3/+10
* rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of store_return_value. (e500_extract_return_value): Change type of valbuf pointer to void.
2002-08-25 * tuiSourceWin.c (tuiDisplayMainFunction): Update to useStephane Carrez4-80/+73
tuiUpdateLocatorFilename. * tuiStack.c (tuiSetLocatorInfo): Make it static. (tuiSetLocatorContent): Likewise. (tuiUpdateLocatorInfoFromFrame): Likewise. (tuiSwitchFilename): Remove. (tui_set_locator_filename): New function (tui_set_locator_info): Rename from tuiSetLocatorInfo to GNU-ify; use tui_set_locator_filename to record the filename. (tuiUpdateLocatorFilename): Likewise. (tuiUpdateLocatorInfoFromFrame): Update. (tuiSetLocatorContent): Likewise. * tuiStack.h (tuiClearLocatorContent): Don't declare. (tuiSetLocatorInfo, tuiSetLocatorContent): Likewise. (tuiUpdateLocatorInfoFromFrame, tuiSwitchFilename): Likewise.
2002-08-25 * tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpointStephane Carrez6-68/+59
comparison; cleanup. * tuiSource.c (tuiSetSourceContent): Set window title and filename. * tuiGeneralWin.c (boxWin): Print optional title on top of window. * tuiData.h (TuiSourceInfo): Add filename member. (TuiGenWinInfo): Add title member. * tuiData.c (initGenericPart): Clear title. (freeWindow): Free title and filename; remove unused locals. (initWinInfo): Clear filename. (tuiDelWindow): Free it; remove unused locals.
2002-08-25 * tuiStack.h (tuiGetLocatorFilename): Don't declare.Stephane Carrez3-45/+13
(tuiUpdateLocatorDisplay): Likewise. * tuiStack.c (tuiGetLocatorFilename): Remove. (tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent instead of tuiUpdateLocatorDisplay. (tuiUpdateLocatorDisplay): Remove.
2002-08-25 * tuiStack.h (tuiClearLocatorDisplay): Don't declare.Stephane Carrez3-32/+9
* tuiStack.c (tuiClearLocatorDisplay): Remove. (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
2002-08-25 * tuiStack.c (tui_get_function_from_frame): Rename fromStephane Carrez2-30/+44
_getFuncNameFromFrame; use print_address_symbolic to get symbolic name of address. (tuiUpdateLocatorInfoFromFrame): Update.
2002-08-25 * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.Stephane Carrez3-29/+19
(_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise. (_tuiSetGeneralAndSpecialRegsContent): Likewise. (_tuiSetFloatRegsContent): Likewise. (_tuiRegisterName): Return a const char*. * tuiData.h (_TuiDataElement): Use const char* for name.
2002-08-25 * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.Stephane Carrez3-35/+10
(tuiShowAllExecInfosContent): Likewise. * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. (tuiShowAllExecInfosContent): Remove. (tuiAllocSourceBuffer): Remove unused locals.
2002-08-25 * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_commandStephane Carrez2-36/+18
to follow other gdb's command names; use execute_command; cleanup. (_initialize_tuiStack): Update.
2002-08-25 * tuiWin.h (tui_update_gdb_sizes): Declare.Stephane Carrez2-0/+7
2002-08-252002-08-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-61/+100
* Makefile.in (GDBINT_TEX_TMPS): Define. (gdbint.dvi, gdbint.pdf): Use (GDB_TEX_TMPS): Define. (gdb.dvi, gdb.pdf): Use. (STABS_TEX_TMPS): Define. (stabs.dvi, stabs.pdf): Use. (GDB_DOC_SOURCE_INCLUDES): New macros. (GDB_DOC_BUILD_INCLUDES, GDB_DOC_FILES): New macros. (GDBINT_DOC_FILES_INCLUDES): New macros. (GDBINT_DOC_BUILD_INCLUDES): New macros. (GDBINT_DOC_FILES, STABS_DOC_SOURCE_INCLUDES): New macros. (STABS_DOC_BUILD_INCLUDES, STABS_DOC_FILES): New macros. (SFILES_DOC, SFILES_INCLUDED, SFILES_LOCAL): Delete macros. (links2roff): Replace SFILES_INCLUDED with GDB_DOC_SOURCE_INCLUDES. (gdb.dvi, gdb_toc.html, gdb.pdf, gdb.info): Update dependencies. (gdb.me, gdb.mm, gdb.ms): Update dependencies. (gdbint.dvi, gdbint_toc.html, gdbint.pdf, gdbint.info): Update dependencies. (stabs.info, stabs_toc.html, stabs.pdf, stabs.dvi): Update dependencies. (gdbmi.texinfo): Delete rule. (inc-hist.texinfo): Delete rule. (rluser.texinfo): Delete rule.
2002-08-25daily updateAlan Modra1-1/+1
2002-08-25*** empty log message ***gdbadmin1-1/+1
2002-08-24 * MAINTAINERS: Change my mailing address.Geoffrey Keating4-2/+10
2002-08-24 * tui.c (strcat_to_buf): Use const char* for source item.Stephane Carrez3-3/+12
(tui_enable): Update the windows if there is a selected frame. * tui.h (strcat_to_buf): Update prototype. (strcat_to_buf_with_fmt): Remove.
2002-08-24 * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb whatStephane Carrez3-7/+29
is the size of command window. (tuiResizeAll): Call it instead of init_page_info. * tui.c (tui_enable): Call it to resize to TUI command window. (tui_disable): Likewise for plain screen.
2002-08-24 * tui.c (tui_enable): Use tuiSetLayout instead of showLayout andStephane Carrez4-22/+16
use tuiShowFrameInfo instead of tuiSetLocatorContent. * tuiLayout.h (showLayout): Remove. * tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals. (_showSourceDisassemCommand): Likewise. (showLayout): Make it static. (lastLayout): Remove.
2002-08-24* PROBLEMS: Clarify problems with FreeBSD's compiler and suggestMark Kettenis2-2/+8
workaround.
2002-08-24 * tuiSourceWin.c (tui_show_source_line): New function.Stephane Carrez8-135/+68
(tuiShowSourceContent): Call it and avoid clearing the window before redrawing it. (tuiClearAllSourceWinsContent): Remove. * tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare. * tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare. * tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove. (tuiRefreshAll): Don't clear the window. (_makeVisibleWithNewHeight): Don't clear locator line. (tuiResizeAll): Remove unused locals. (_tuiAdjustWinHeights): Likewise. (_makeInvisibleAndSetNewHeight): Likewise. (_newHeightOk): Likewise. * tuiLayout.c (showLayout): Don't clear source windows. (tuiSetLayout): Don't clear the window. (_initAndMakeWin): Likewise for status line. * tuiGeneralWin.c (makeVisible): Don't clear or refresh the window. (makeWindow): Likewise. (tuiClearWin): Remove. * tuiGeneralWin.h (tuiClearWin): Don't declare.