external/binutils.git
22 years ago * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
Alan Modra [Mon, 26 Aug 2002 11:42:12 +0000 (11:42 +0000)]
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.

22 years ago * gas/m68hc11/insns.d: Quote dots.
Alan Modra [Mon, 26 Aug 2002 11:35:32 +0000 (11:35 +0000)]
* gas/m68hc11/insns.d: Quote dots.
* gas/m68hc11/opers12.d: Likewise.

22 years ago * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
Alan Modra [Mon, 26 Aug 2002 11:27:02 +0000 (11:27 +0000)]
* gas/ieee-fp/x930509a.exp: Run the test but xfail.  Add c80 to xfails.

22 years ago * gas/vax/quad.exp: Use quad_elf.s for ELF targets.
Alan Modra [Mon, 26 Aug 2002 11:06:32 +0000 (11:06 +0000)]
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.

22 years ago * gas/sparc/sparc.exp (sparc_elf_setup): New.
Alan Modra [Mon, 26 Aug 2002 10:44:12 +0000 (10:44 +0000)]
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.

22 years ago * gas/tic54x/align.s: Add comment.
Alan Modra [Mon, 26 Aug 2002 10:37:58 +0000 (10:37 +0000)]
* gas/tic54x/align.s: Add comment.
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change.
* gas/tic54x/extaddr.d: Similarly adjust disassembly tail.

22 years ago * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
Alan Modra [Mon, 26 Aug 2002 10:16:34 +0000 (10:16 +0000)]
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.

22 years ago * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
Alan Modra [Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)]
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
(strip_executable): Likewise.

22 years ago * nm.c (display_rel_file): Don't report "no symbols" as an error.
Alan Modra [Mon, 26 Aug 2002 10:14:15 +0000 (10:14 +0000)]
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise.  Do print "no symbols" to stdout.

22 years ago * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
Alan Modra [Mon, 26 Aug 2002 09:01:41 +0000 (09:01 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.

22 years ago * config/tc-w65.c (md_section_align): Fix typo.
Alan Modra [Mon, 26 Aug 2002 08:55:33 +0000 (08:55 +0000)]
* config/tc-w65.c (md_section_align): Fix typo.
(md_parse_option): Return 0, not 1.

22 years ago * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
Alan Modra [Mon, 26 Aug 2002 08:46:21 +0000 (08:46 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.

22 years ago*** empty log message ***
gdbadmin [Mon, 26 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 26 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* regcache.c (regcache_raw_write_signed,
Mark Kettenis [Sun, 25 Aug 2002 23:44:30 +0000 (23:44 +0000)]
* regcache.c (regcache_raw_write_signed,
regcache_raw_write_unsigned): New functions.
* regcache.h (regcache_raw_write_signed,
regcache_raw_write_unsigned): New prototypes.

22 years ago * tui.c (tui_rl_switch_mode): Renames tui_switch_mode.
Stephane Carrez [Sun, 25 Aug 2002 21:44:41 +0000 (21:44 +0000)]
* tui.c (tui_rl_switch_mode): Renames tui_switch_mode.
(tui_rl_change_windows): Renames tui_change_windows.
(tui_rl_delete_other_windows): Renames tui_delete_other_windows.
(tui_initialize_readline): Update.

22 years ago2002-08-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 21:43:05 +0000 (21:43 +0000)]
2002-08-21  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years ago * tuiDisassem.c (tuiSetDisassemContent): Use breakpoint_here_p.
Stephane Carrez [Sun, 25 Aug 2002 19:54:56 +0000 (19:54 +0000)]
* tuiDisassem.c (tuiSetDisassemContent): Use breakpoint_here_p.
(_hasBreak): Remove.

22 years ago * tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbol
Stephane Carrez [Sun, 25 Aug 2002 19:39:45 +0000 (19:39 +0000)]
* tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbol
to find symbol address.

22 years ago * tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
Stephane Carrez [Sun, 25 Aug 2002 19:19:50 +0000 (19:19 +0000)]
* tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
and use tuiGetBeginAsmAddress.
* tuiSourceWin.h (tui_display_main): Declare.
* tui.h (tuiDisplayMainFunction): Remove.
* tui-hooks.c (tui_new_objfile_hook): Update.

22 years ago2002-08-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 19:10:15 +0000 (19:10 +0000)]
2002-08-25  Andrew Cagney  <ac131313@redhat.com>

* gdb.texinfo (Examples): Use ``->'' for a packet send and ``<-''
for a packet receive.

22 years ago * tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
Stephane Carrez [Sun, 25 Aug 2002 18:58:58 +0000 (18:58 +0000)]
* tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
(tuiShowSourceAsIs): Don't declare.

22 years ago2002-08-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 18:47:16 +0000 (18:47 +0000)]
2002-08-25  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years ago * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
Stephane Carrez [Sun, 25 Aug 2002 18:42:32 +0000 (18:42 +0000)]
* tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
the frame position.

22 years ago * tuiStack.c (tuiSetLocatorContent): Remove.
Stephane Carrez [Sun, 25 Aug 2002 17:13:29 +0000 (17:13 +0000)]
* tuiStack.c (tuiSetLocatorContent): Remove.
(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.

22 years ago2002-08-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 15:36:11 +0000 (15:36 +0000)]
2002-08-25  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years ago2002-08-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 15:18:41 +0000 (15:18 +0000)]
2002-08-25  Andrew Cagney  <ac131313@redhat.com>

* 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>.

22 years ago2002-08-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 14:44:04 +0000 (14:44 +0000)]
2002-08-25  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years ago2002-08-24 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 13:48:15 +0000 (13:48 +0000)]
2002-08-24  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years ago2002-08-24 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 13:15:50 +0000 (13:15 +0000)]
2002-08-24  Andrew Cagney  <ac131313@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of
store_return_value.
(e500_extract_return_value): Change type of valbuf pointer to
void.

22 years ago * tuiSourceWin.c (tuiDisplayMainFunction): Update to use
Stephane Carrez [Sun, 25 Aug 2002 13:13:20 +0000 (13:13 +0000)]
* tuiSourceWin.c (tuiDisplayMainFunction): Update to use
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.

22 years ago * tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint
Stephane Carrez [Sun, 25 Aug 2002 11:00:46 +0000 (11:00 +0000)]
* tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint
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.

22 years ago * tuiStack.h (tuiGetLocatorFilename): Don't declare.
Stephane Carrez [Sun, 25 Aug 2002 10:04:08 +0000 (10:04 +0000)]
* tuiStack.h (tuiGetLocatorFilename): Don't declare.
(tuiUpdateLocatorDisplay): Likewise.
* tuiStack.c (tuiGetLocatorFilename): Remove.
(tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent
instead of tuiUpdateLocatorDisplay.
(tuiUpdateLocatorDisplay): Remove.

22 years ago * tuiStack.h (tuiClearLocatorDisplay): Don't declare.
Stephane Carrez [Sun, 25 Aug 2002 09:53:27 +0000 (09:53 +0000)]
* tuiStack.h (tuiClearLocatorDisplay): Don't declare.
* tuiStack.c (tuiClearLocatorDisplay): Remove.
(tuiShowLocatorContent): Use wclrtoeol to clear end of status line.
(tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.

22 years ago * tuiStack.c (tui_get_function_from_frame): Rename from
Stephane Carrez [Sun, 25 Aug 2002 09:40:32 +0000 (09:40 +0000)]
* tuiStack.c (tui_get_function_from_frame): Rename from
_getFuncNameFromFrame; use print_address_symbolic to get symbolic
name of address.
(tuiUpdateLocatorInfoFromFrame): Update.

22 years ago * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.
Stephane Carrez [Sun, 25 Aug 2002 09:12:36 +0000 (09:12 +0000)]
* tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.
(_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise.
(_tuiSetGeneralAndSpecialRegsContent): Likewise.
(_tuiSetFloatRegsContent): Likewise.
(_tuiRegisterName): Return a const char*.
* tuiData.h (_TuiDataElement): Use const char* for name.

22 years ago * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
Stephane Carrez [Sun, 25 Aug 2002 08:44:44 +0000 (08:44 +0000)]
* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
(tuiShowAllExecInfosContent): Likewise.
* tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
(tuiShowAllExecInfosContent): Remove.
(tuiAllocSourceBuffer): Remove unused locals.

22 years ago * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
Stephane Carrez [Sun, 25 Aug 2002 08:22:58 +0000 (08:22 +0000)]
* tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
to follow other gdb's command names; use execute_command; cleanup.
(_initialize_tuiStack): Update.

22 years ago * tuiWin.h (tui_update_gdb_sizes): Declare.
Stephane Carrez [Sun, 25 Aug 2002 07:56:01 +0000 (07:56 +0000)]
* tuiWin.h (tui_update_gdb_sizes): Declare.

22 years ago2002-08-24 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 25 Aug 2002 00:12:33 +0000 (00:12 +0000)]
2002-08-24  Andrew Cagney  <ac131313@redhat.com>

* 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.

22 years agodaily update
Alan Modra [Sun, 25 Aug 2002 00:01:20 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 25 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * MAINTAINERS: Change my mailing address.
Geoffrey Keating [Sat, 24 Aug 2002 22:43:50 +0000 (22:43 +0000)]
* MAINTAINERS: Change my mailing address.

22 years ago * tui.c (strcat_to_buf): Use const char* for source item.
Stephane Carrez [Sat, 24 Aug 2002 17:04:33 +0000 (17:04 +0000)]
* tui.c (strcat_to_buf): Use const char* for source item.
(tui_enable): Update the windows if there is a selected frame.
* tui.h (strcat_to_buf): Update prototype.
(strcat_to_buf_with_fmt): Remove.

22 years ago * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
Stephane Carrez [Sat, 24 Aug 2002 16:43:08 +0000 (16:43 +0000)]
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
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.

22 years ago * tui.c (tui_enable): Use tuiSetLayout instead of showLayout and
Stephane Carrez [Sat, 24 Aug 2002 15:25:25 +0000 (15:25 +0000)]
* tui.c (tui_enable): Use tuiSetLayout instead of showLayout and
use tuiShowFrameInfo instead of tuiSetLocatorContent.
* tuiLayout.h (showLayout): Remove.
* tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals.
(_showSourceDisassemCommand): Likewise.
(showLayout): Make it static.
(lastLayout): Remove.

22 years ago* PROBLEMS: Clarify problems with FreeBSD's compiler and suggest
Mark Kettenis [Sat, 24 Aug 2002 14:36:12 +0000 (14:36 +0000)]
* PROBLEMS: Clarify problems with FreeBSD's compiler and suggest
workaround.

22 years ago * tuiSourceWin.c (tui_show_source_line): New function.
Stephane Carrez [Sat, 24 Aug 2002 12:28:33 +0000 (12:28 +0000)]
* tuiSourceWin.c (tui_show_source_line): New function.
(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.

22 years ago * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove.
Stephane Carrez [Sat, 24 Aug 2002 10:15:54 +0000 (10:15 +0000)]
* tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove.
(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.

22 years ago * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
Stephane Carrez [Sat, 24 Aug 2002 09:43:30 +0000 (09:43 +0000)]
* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.

22 years ago * elf32-sh.c (sh_elf_copy_indirect_symbol): New.
Alan Modra [Sat, 24 Aug 2002 01:44:56 +0000 (01:44 +0000)]
* elf32-sh.c (sh_elf_copy_indirect_symbol): New.
(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.

22 years ago* valprint.c (print_longest) [CC_HAS_LONG_LONG &&
Mark Kettenis [Sat, 24 Aug 2002 00:40:59 +0000 (00:40 +0000)]
* valprint.c (print_longest) [CC_HAS_LONG_LONG &&
PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned
long long) to prevent compiler warning on 64-bit systems.

22 years agoIndex: ChangeLog
Andrew Cagney [Sat, 24 Aug 2002 00:21:37 +0000 (00:21 +0000)]
Index: ChangeLog
===================================================================
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.

22 years agodummy commit, get CVS off the branch.
Andrew Cagney [Sat, 24 Aug 2002 00:11:12 +0000 (00:11 +0000)]
dummy commit, get CVS off the branch.

22 years agoDummy commit. Get CVS off the branch.
Andrew Cagney [Sat, 24 Aug 2002 00:09:22 +0000 (00:09 +0000)]
Dummy commit.  Get CVS off the branch.

22 years ago*** empty log message ***
gdbadmin [Sat, 24 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 24 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 23:15:52 +0000 (23:15 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c,
bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.

22 years ago* PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSD
Mark Kettenis [Fri, 23 Aug 2002 23:05:39 +0000 (23:05 +0000)]
* PROBLEMS: Refer to GDB 5.3 instead of 5.2.  Mention FreeBSD
problems.

22 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 22:24:57 +0000 (22:24 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* texinfo/texinfo.tex: Import version 2002-06-04.06.

22 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Elena Zannoni [Fri, 23 Aug 2002 22:02:32 +0000 (22:02 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

22 years agoimport of readline-4.3
Elena Zannoni [Fri, 23 Aug 2002 22:02:32 +0000 (22:02 +0000)]
import of readline-4.3

22 years ago * infrun.c (handle_inferior_event): Move a comment outside of a
Joel Brobecker [Fri, 23 Aug 2002 21:55:36 +0000 (21:55 +0000)]
    * infrun.c (handle_inferior_event): Move a comment outside of a
        function call, in order to avoid indent reformatting this part
        of the code in an unreadable way.

22 years agoImport config.guess and config.sub.
Andrew Cagney [Fri, 23 Aug 2002 21:22:40 +0000 (21:22 +0000)]
Import config.guess and config.sub.

22 years ago * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
Grace Sainsbury [Fri, 23 Aug 2002 20:49:38 +0000 (20:49 +0000)]
* infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
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.

22 years ago * gdb.threads/print-threads.c: New file.
Daniel Jacobowitz [Fri, 23 Aug 2002 20:32:02 +0000 (20:32 +0000)]
    * gdb.threads/print-threads.c: New file.
        * gdb.threads/print-threads.exp: New file.
        * gdb.threads/schedlock.c: New file.
        * gdb.threads/schedlock.exp: New file.

22 years ago * ChangeLog: Move gdbserver entries after GDB 5.2 to
Daniel Jacobowitz [Fri, 23 Aug 2002 19:55:50 +0000 (19:55 +0000)]
    * ChangeLog: Move gdbserver entries after GDB 5.2 to
        gdbserver/ChangeLog.

22 years ago* i386-tdep.c: Include "objfiles.h".
Mark Kettenis [Fri, 23 Aug 2002 19:26:15 +0000 (19:26 +0000)]
* i386-tdep.c: Include "objfiles.h".
(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 '.'.

22 years ago* linux-proc.c (struct linux_corefile_thread_data): Add num_notes
Mark Kettenis [Fri, 23 Aug 2002 19:06:05 +0000 (19:06 +0000)]
* linux-proc.c (struct linux_corefile_thread_data): Add num_notes
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.

22 years ago * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
Dave Anglin [Fri, 23 Aug 2002 16:07:02 +0000 (16:07 +0000)]
* MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.

22 years ago * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
Joel Brobecker [Fri, 23 Aug 2002 15:06:53 +0000 (15:06 +0000)]
    * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
        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.

22 years agoUndo previous delta. Add comment explaining why.
Nick Clifton [Fri, 23 Aug 2002 09:42:21 +0000 (09:42 +0000)]
Undo previous delta.  Add comment explaining why.

22 years ago * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
Alan Modra [Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)]
* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
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.

22 years ago * ld-sh/sh64/rd-sh64.exp: New framework file.
Alan Modra [Fri, 23 Aug 2002 08:14:06 +0000 (08:14 +0000)]
* ld-sh/sh64/rd-sh64.exp: New framework file.
* 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.

22 years ago * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
Alan Modra [Fri, 23 Aug 2002 08:13:12 +0000 (08:13 +0000)]
* elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
value if .init is an SHmedia function.  Similarly for DT_FINI.
* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.

22 years agoAdd --with-lib-patch configure switch.
Nick Clifton [Fri, 23 Aug 2002 08:03:32 +0000 (08:03 +0000)]
Add --with-lib-patch configure switch.

22 years agooops - omitted from previous delta
Nick Clifton [Fri, 23 Aug 2002 07:34:44 +0000 (07:34 +0000)]
oops - omitted from previous delta

22 years ago2002-08-22 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 23 Aug 2002 06:26:05 +0000 (06:26 +0000)]
2002-08-22  Chris Demetriou  <cgd@broadcom.com>

        * compare_igen_models: New script.

22 years ago * bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
Alan Modra [Fri, 23 Aug 2002 04:23:37 +0000 (04:23 +0000)]
* bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
dynamic section.
* bfd/elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 23 Aug 2002 01:52:22 +0000 (01:52 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
        not altivec.c.

22 years agodaily update
Alan Modra [Fri, 23 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 23 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 22 Aug 2002 22:26:41 +0000 (22:26 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

* 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.

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 22 Aug 2002 22:25:17 +0000 (22:25 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

* blockframe.c (generic_call_dummy_register_unwind): Use
regcache_cooked_read to catch cases in which the variable is
stored in a pseudo register.

22 years agoObsolete i960.
Andrew Cagney [Thu, 22 Aug 2002 21:52:45 +0000 (21:52 +0000)]
Obsolete i960.

22 years agoNote that if '@' is a comment character then another symbol is used to prefix
Nick Clifton [Thu, 22 Aug 2002 20:10:53 +0000 (20:10 +0000)]
Note that if '@' is a comment character then another symbol is used to prefix
the section's type.

22 years agoUse a simple byte read when reading the return address register column.
Nick Clifton [Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)]
Use a simple byte read when reading the return address register column.

22 years agoopcodes: Fix definition of "in rd,imm16" opcode.
Nick Clifton [Thu, 22 Aug 2002 19:22:35 +0000 (19:22 +0000)]
opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.

22 years agoSet the last bit of DT_INIT and DT_FINI depending on the type of the function.
Nick Clifton [Thu, 22 Aug 2002 19:11:51 +0000 (19:11 +0000)]
Set the last bit of DT_INIT and DT_FINI depending on the type of the function.

22 years agoAdd powerpc64-*-*bsd* target.
Nick Clifton [Thu, 22 Aug 2002 17:45:36 +0000 (17:45 +0000)]
Add powerpc64-*-*bsd* target.

22 years agoAdd Jeff Law as HPPA maintainer
Nick Clifton [Thu, 22 Aug 2002 17:35:42 +0000 (17:35 +0000)]
Add Jeff Law as HPPA maintainer

22 years agoAdd sh-nto support
Nick Clifton [Thu, 22 Aug 2002 17:27:20 +0000 (17:27 +0000)]
Add sh-nto support

22 years ago * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
Jeff Law [Thu, 22 Aug 2002 16:24:24 +0000 (16:24 +0000)]
    * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.

22 years agoUpdated Turkish translation.
Nick Clifton [Thu, 22 Aug 2002 16:22:03 +0000 (16:22 +0000)]
Updated Turkish translation.

22 years agoSet bfd_error to no_symbols if the symbols could not be read.
Nick Clifton [Thu, 22 Aug 2002 16:12:00 +0000 (16:12 +0000)]
Set bfd_error to no_symbols if the symbols could not be read.

22 years agoFix arm-aout failures
Nick Clifton [Thu, 22 Aug 2002 16:10:05 +0000 (16:10 +0000)]
Fix arm-aout failures

22 years ago * aix-thread.c (aix_thread_detach): Disable thread debugging on
Corinna Vinschen [Thu, 22 Aug 2002 15:27:16 +0000 (15:27 +0000)]
* aix-thread.c (aix_thread_detach): Disable thread debugging on
detach to allow reinitialization.

22 years ago2002-08-22 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 22 Aug 2002 14:47:52 +0000 (14:47 +0000)]
2002-08-22  Andrew Cagney  <ac131313@redhat.com>
* MAINTAINERS: Change the s390 target to s390-linux-gnu (second
attempt).

22 years agoTurn off default excluded functions in FLAT profile.
Nick Clifton [Thu, 22 Aug 2002 11:07:15 +0000 (11:07 +0000)]
Turn off default excluded functions in FLAT profile.

22 years ago* coffread.c (coff_symfile_read): Don't try to read the line
Jim Blandy [Thu, 22 Aug 2002 05:50:11 +0000 (05:50 +0000)]
* coffread.c (coff_symfile_read): Don't try to read the line
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.