aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
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 * elf32-sh.c (sh_elf_copy_indirect_symbol): New.Alan Modra2-583/+1014
(create_got_section, allocate_dynrelocs, readonly_dynrelocs): Likewise. (struct elf_sh_pcrel_relocs_copied): Removed. (struct elf_sh_dyn_relocs): New. (struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied field with dyn_relocs. (struct elf_sh_link_hash_table): Add short-cuts to get dynamic sections and sym_sec. (sh_elf_link_hash_newfunc): Clear dyn_relocs. (sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec. (sh_elf_create_dynamic_sections): Use create_got_section instead of _bfd_elf_create_got_section. (sh_elf_check_relocs): Likewise. (sh_elf_create_dynamic_sections): Use short-cuts to the dynamic sections. (sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, sh_elf_relocate_section, sh_elf_check_relocs, sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections): Likewise. (sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the dynamic relocations and avoiding the copy relocation when we didn't find any dynamic relocations in the section which has contents or is read-only. (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. (sh_elf_size_dynamic_sections): Don't reset the size of .rela.got section even if dynamic_sections_created flag is off. Don't use sh_elf_discard_copies. Scan all input bfd and use allocate_dynrelocs. Call readonly_dynrelocs to determine whether we need DT_TEXTREL. (sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine whether the symbol was never referred to. (sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL. (sh_elf_gc_sweep_hook): Fill with the real sweep function. (sh_elf_check_relocs): Call create_got_section if the short-cut to .got is null. Increment reference counters only instead of allocating space on dynamic sections here. Don't conditionalize uninitialized got.offset value when marking the symbol as a global offset table entry. Keep relocations for symbols satisfied by a dynamic library to avoid copy relocations for the symbol. Set dynobj field of an elf hash table if needed. (sh_elf_finish_dynamic_sections): Handle null section pointer correctly. (elf_backend_copy_indirect_symbol): Defined. (elf_backend_can_refcount): Defined.
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-24dummy commit, get CVS off the branch.Andrew Cagney13-6625/+0
2002-08-24Dummy commit. Get CVS off the branch.Andrew Cagney5-498/+128
2002-08-24*** empty log message ***gdbadmin1-1/+1
2002-08-24daily updateAlan Modra1-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-232002-08-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-177/+195
* texinfo/texinfo.tex: Import version 2002-06-04.06.
2002-08-23This commit was generated by cvs2svn to track changes on a CVS vendorElena Zannoni19-128/+7125
branch.
2002-08-23import of readline-4.3Elena Zannoni111-21861/+43897
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-23Import config.guess and config.sub.Andrew Cagney6-46/+94
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 * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.Dave Anglin2-0/+5
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-23Undo previous delta. Add comment explaining why.Nick Clifton2-1/+11
2002-08-23 * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): CopyAlan Modra3-16/+41
contents of .got.plt[2] to tr0, not address of .got.plt. (sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when patching absolute plt entry. For shmedia plt entry, set bottom bit of branch to plt0 as this is a branch to an shmedia instruction. * elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le): Copy contents of .got.plt[2] to tr0, not address of .got.plt. (elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to branch to plt0. (sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when patching absolute plt entry. For shmedia plt entry, branch to plt0 is now ptrel, so use relative offset. Set bottom bit of branch target as it is a branch to an shmedia instruction.
2002-08-23 * ld-sh/sh64/rd-sh64.exp: New framework file.Alan Modra6-0/+111
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for correct setting of ISA bit for init and fini entry-points.
2002-08-23 * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INITAlan Modra3-2/+51
value if .init is an SHmedia function. Similarly for DT_FINI. * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.
2002-08-23Add --with-lib-patch configure switch.Nick Clifton7-207/+241
2002-08-23oops - omitted from previous deltaNick Clifton1-1/+1
2002-08-232002-08-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+117
* compare_igen_models: New script.
2002-08-23 * bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initializeAlan Modra3-2/+8
dynamic section. * bfd/elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
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-23daily updateAlan Modra1-1/+1
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