aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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-25*** empty log message ***gdbadmin1-1/+1
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.
2002-08-24 * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove.Stephane Carrez6-233/+16
(tuiAsmWinIsDisplayed): Remove. (tuiShowAllSourceWinsContent): Remove. (tuiUpdateOnEnd): Remove. * tuiGeneralWin.c (scrollWinForward): Remove. (scrollWinBackward): Remove. (_winResize): Don't declare. * tui.h (tuiUpdateOnEnd): Don't declare. (vcatch_errors, va_catch_errors): Likewise. * tuiSourceWin.h (tuiUpdateOnEnd): Likewise. (tuiShowAllSourceWinsContent): Likewise. * tuiGeneralWin.h (scrollWinForward): Likewise. (scrollWinBackward): Likewise.
2002-08-24 * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.Stephane Carrez2-1/+6
2002-08-24* valprint.c (print_longest) [CC_HAS_LONG_LONG &&Mark Kettenis2-3/+9
PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned long long) to prevent compiler warning on 64-bit systems.
2002-08-24Index: ChangeLogAndrew Cagney42-154/+272
=================================================================== RCS file: /cvs/src/src/gdb/ChangeLog,v retrieving revision 1.3144 diff -u -r1.3144 ChangeLog --- ChangeLog 23 Aug 2002 23:05:38 -0000 1.3144 +++ ChangeLog 23 Aug 2002 23:14:45 -0000 @@ -1,3 +1,53 @@ 2002-08-23 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter. (DEPRECATED_STORE_RETURN_VALUE): New method. (EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer. * gdbarch.h, gdbarch.c: Re-generate. * values.c (set_return_value): Pass current_regcache to STORE_RETURN_VALUE. * arch-utils.h (legacy_store_return_value): Declare. * arch-utils.c (legacy_store_return_value): New function. (legacy_extract_return_value): Update parameters. * config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename STORE_RETURN_VALUE. * config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * i386-tdep.c (i386_extract_return_value): Update. * arch-utils.c (legacy_extract_return_value): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * d10v-tdep.c (d10v_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. Index: doc/ChangeLog 2002-08-21 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Update STORE_RETURN_VALUE, mention regcache.
2002-08-24*** empty log message ***gdbadmin1-1/+1
2002-08-232002-08-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+9
* config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c, bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.
2002-08-23* PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSDMark Kettenis2-1/+23
problems.
2002-08-23 * infrun.c (handle_inferior_event): Move a comment outside of aJoel Brobecker2-9/+15
function call, in order to avoid indent reformatting this part of the code in an unreadable way.
2002-08-23 * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsgGrace Sainsbury3-46/+110
when breakpoints fail. Move general breakpoint error messages to insert_breakpoints. * breakpoint.c (insert_breakpoints): Change warnings when breakpoints are nto inserted to specify the type. Remove call to memory_error when hardware breakpoints can't be inserted. Remove multiple calls to warning so all messages are sent to the user at once. (delete_breakpoints): Make insert error messsages more explicit.
2002-08-23 * gdb.threads/print-threads.c: New file.Daniel Jacobowitz5-0/+618
* gdb.threads/print-threads.exp: New file. * gdb.threads/schedlock.c: New file. * gdb.threads/schedlock.exp: New file.
2002-08-23 * ChangeLog: Move gdbserver entries after GDB 5.2 toDaniel Jacobowitz2-395/+417
gdbserver/ChangeLog.
2002-08-23* i386-tdep.c: Include "objfiles.h".Mark Kettenis3-2/+20
(i386_svr4_init_abi): Set in_solib_call_trampoline and skip_trampoline_code. * config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h". (CPLUS_MARKER): Define to '.'.
2002-08-23* linux-proc.c (struct linux_corefile_thread_data): Add num_notesMark Kettenis2-5/+17
member. (linux_corefile_thread_callback): Increase args->num_notes. (linux_make_note_section): Initialize thread_args.num_notes, and use it to determine whether notes for any threads were created.
2002-08-23 * proc-api.c (rw_table): Do not include a row for PCDSTOP if theJoel Brobecker2-0/+24
corresponding macro is not defined. Likewise for PCNICE, PCSHOLD and PCUNKILL. (write_with_trace): Conditionalize out the switch branch handling PCSHOLD if the corresponding macro is not defined. Likewise for PRSABORT and PRSTOP. This change will be needed by the Interix port.
2002-08-232002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+14
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c, not altivec.c.
2002-08-23*** empty log message ***gdbadmin1-1/+1
2002-08-222002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+228
* rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and ev_offset fields. (skip_prologue): Add support for BookE/e500 instructions. (e500_extract_return_value): New function. (frame_get_saved_regs): Add support for saving ev registers and pseudo gpr's. (e500_store_return_value): New function. (rs6000_gdbarch_init): Move up default intializations of deprecated_extract_return_value and store_return_value. Overwrite init of store_return_value with e500 specific version. Set extract_return_value for e500.
2002-08-222002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+8
* blockframe.c (generic_call_dummy_register_unwind): Use regcache_cooked_read to catch cases in which the variable is stored in a pseudo register.
2002-08-22Obsolete i960.Andrew Cagney16-2937/+2952
2002-08-22 * aix-thread.c (aix_thread_detach): Disable thread debugging onCorinna Vinschen2-1/+6
detach to allow reinitialization.
2002-08-222002-08-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* MAINTAINERS: Change the s390 target to s390-linux-gnu (second attempt).
2002-08-22* coffread.c (coff_symfile_read): Don't try to read the lineJim Blandy2-7/+32
number table from disk if the image file doesn't have a symbol table; we'll never actually look at the info anyway, and Windows ships DLL's with bogus file offsets for the line number data.
2002-08-22*** empty log message ***gdbadmin1-1/+1
2002-08-212002-08-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+27
* rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have an e500 executable.
2002-08-212002-08-21 Michael Snyder <msnyder@redhat.com>Michael Snyder4-11/+6
* mips-tdep.c (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
2002-08-212002-08-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+19
* mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function. (MSYMBOL_SIZE): Replace macro with function.
2002-08-21* valops.c (value_cast): Simplify and correct logic for doing aJim Blandy2-12/+11
static cast from a pointer to a base class to a pointer to a derived class.