aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-22 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.Alan Modra50-1234/+715
(config.status): Delete rule. Add extra dependencies to cover sourced emulparams files. * Makefile.in: Regenerate. * scripttempl/elf.sc: Order <section>, <section>.* and corresponding linkonce sections as seen in input files. Formatting fixes. Zero vma of all sections if not relocating. (STACK): Define and insert if STACK_ADDR defined. (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. (OTHER_READWRITE_SECTIONS): Likewise. (OTHER_GOT_SECTIONS): Likewise. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_BSS_SECTIONS): Likewise. * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise. * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. (STACK_ADDR): Define. * emulparams/armelf_oabi.sh: As for armelf.sh. * emulparams/elf32mcore.sh: As for armelf.sh. * emulparams/h8300elf.sh: As for armelf.sh. * emulparams/mn10200.sh: As for armelf.sh. * emulparams/shelf.sh: As for armelf.sh. * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_END_SYMBOLS): Define. * emulparams/m32relf.sh: As for elf32fr30.sh. * emulparams/h8300helf.sh: As for elf32fr30.sh. * emulparams/h8300self.sh: As for elf32fr30.sh. * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol defines with RELOCATING test. (OTHER_SDATA_SECTIONS): Likewise. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_END_SYMBOLS): ..this. * emulparams/crislinux.sh: As for criself.sh. * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma if not relocating. (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order normal and linkonce sections as seen in input files. * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. (TEXT_DYNAMIC): Likewise. (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_SDATA_SECTIONS): Likewise. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. (OTHER_PLT_RELOC_SECTIONS): Likewise. (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce sections as seen in input files. * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma if not relocating. (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. (OTHER_SECTIONS): Instead, use this.. (OTHER_END_SYMBOLS): ..and this. * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. * emulparams/elf32bsmip.sh: Likewise. * emulparams/elf32btsmip.sh: Likewise. * emulparams/elf32ebmip.sh: Likewise. * emulparams/elf32lmip.sh: Likewise. * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. * emulparams/elf32lsmip.sh: Likewise. * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. * emulparams/elf64btsmip.sh: Likewise. * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. * emulparams/elf32ppclinux.sh: Likewise. * emulparams/elf32ppcsim.sh: Likewise. * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. * emulparams/h8300self.sh: Likewise. * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. * emulparams/sh.sh: Comment. * emulparams/shl.sh: Source sh.sh, remove duplicates. * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-22Mention 5.1 release.Andrew Cagney1-0/+4
2001-11-222001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-9/+59
* gdb.asm/m32r.inc: New file. * gdb.asm/asm-source.exp: Recognize m32r target. * gdb.asm/configure.in: Recognize m32r target. * gdb.asm/configure: Regenerate.
2001-11-222001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+42
* gdb.asm/i386.inc: New file. * gdb.asm/asm-source.exp: Recognize ix86 target. * gdb.asm/configure.in: Recognize ix86 target. * gdb.asm/configure: Regenerate.
2001-11-22 Fix for PR gdb/209, PR gdb/156:Tom Tromey11-28/+268
* gdbarch.c, gdbarch.h: Rebuilt. * gdbarch.sh: Added `construct_inferior_arguments'. * cli/cli-decode.h (cmd_list_element): Added pre_show_hook. Typo fix. * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook. * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command. (inferior_argc, inferior_argv): New globals. (notice_args_set): New function. (set_inferior_args): Clear inferior_argc and inferior_argv. (set_inferior_args_vector): New function. (get_inferior_args): Handle inferior argument vector. (run_command): Use get_inferior_args(). (notice_args_read): New function. (_initialize_infcmd): Don't call set_inferior_args. * command.h: Typo fix. (cmd_list_element): Added pre_show_hook. * main.c (captured_main): Added --args option. (print_gdb_help): Document --args. * inferior.h (construct_inferior_arguments): Declare. (set_inferior_args_vector): Likewise. * fork-child.c (construct_inferior_arguments): New function.
2001-11-22 * gdb.texinfo (Invoking GDB): Document --args.Tom Tromey2-0/+20
(Mode Options): Likewise.
2001-11-22*** empty log message ***gdbadmin1-1/+1
2001-11-21daily updateAlan Modra1-1/+1
2001-11-21* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):Jim Blandy2-9/+6
Delete documentation; this macro has been removed from the sources.
2001-11-21Fix two ``attach'' related bugs involving threads.Kevin Buettner2-0/+25
2001-11-21 * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx ratherAlan Modra2-38/+45
than sym_sec->output_section to detect relocs against discarded sections.
2001-11-21 * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...Richard Sandiford2-15/+45
(md_apply_fix3): ...here. Don't prevent the symbol value being subtracted twice from GPREL addends. (tc_gen_reloc): Add the symbol value to a GPREL addend if it was subtracted by the previous function.
2001-11-21* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): DeleteJim Blandy2-11/+5
default definition; this is never used.
2001-11-21 * ldlang.c (map_input_to_output_sections): Replace "break"Alan Modra2-0/+9
accidentally removed with 2001-08-03 change. (lang_gc_sections_1): Likewise.
2001-11-21daily updateAlan Modra1-1/+1
2001-11-212001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-212001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+401
* gdb.base/code-exprs.exp: New file. Tests use of the "@code" qualifier in a type cast expression, to designate an address in the instruction space (Harvard architecture).
2001-11-21*** empty log message ***gdbadmin1-1/+1
2001-11-20Use msgfmt to generate .gmo files from .po files for a distribution.Nick Clifton2-0/+10
2001-11-20 * varobj.c (c_value_of_child): Release memory for "name" whenKeith Seitz2-2/+15
finshed using it. (c_type_of_child): Likewise. (cplus_value_of_child): Isolate the use of name_of_child to one case that needs it. Release memory for "name" when finished using it.
2001-11-20 * top.c (gdb_init): Call init_ui_hook before initializingKeith Seitz2-4/+14
the default UI.
2001-11-202001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+6
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern declaration.
2001-11-20 2001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+8
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of accessing registers[]. (fill_fpregset): Ditto.
2001-11-20 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.Alan Modra2-32/+33
2001-11-20 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL insteadAlan Modra3-2/+8
of false when calling lang_size_sections. (hppaelf_layout_sections_again): Likewise.
2001-11-20Fix md_apply_fix3 typo.Nick Clifton2-1/+6
2001-11-202001-11-20 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+7
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to usage after md_apply_fix3 cleanups.
2001-11-202001-11-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when discarding relocations.
2001-11-20*** empty log message ***gdbadmin1-1/+1
2001-11-192001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+15
* infptrace.c (fetch_register): Dynamically allocate buffer for register. (store_register): Use regcache_collect, instead of accessing the register buffer directly.
2001-11-19 * mips-tdep.c (find_proc_desc): Add cur_frame argument. PassDaniel Jacobowitz2-10/+30
cur_frame to heuristic_proc_desc. (heuristic_proc_desc): Add cur_frame argument. Do not read SP if cur_frame == 0. (after_prologue): Pass cur_frame == 0 to find_proc_desc. (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc. (mips_init_extra_frame_info): Likewise.
2001-11-19daily updateAlan Modra1-1/+1
2001-11-19* defs.h (return_to_top_level): Comment.Andrew Cagney2-0/+19
2001-11-192001-11-19 H.J. Lu <hjl@gnu.org>H.J. Lu8-6/+25
* ld-elfvsb/define.s: Mark all global lables as object. * ld-elfvsb/hidden0.d: Match large section number. * ld-elfvsb/hidden1.d: Likewise. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/internal1.d: Likewise. * ld-elfvsb/protected0.d: Likewise. * ld-elfvsb/protected1.d: Likewise. * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/protected0.d: Likewise.
2001-11-19Use ISO C long strings.Andrew Cagney2-9/+14
2001-11-19 * varobj.c (c_value_of_child): Use the wrapper function,Keith Seitz2-6/+13
gdb_value_struct_elt. (cplus_value_of_child): Likewise.
2001-11-19Define and use bfd_is_const_section().Nick Clifton4-7/+42
2001-11-19Add -ws switch to display contents of .debug_str sectionsNick Clifton3-54/+174
2001-11-19 * testsuite/binutils-all/objdump.exp: Add x86-64.Andreas Jaeger2-2/+6
2001-11-19 * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.Alan Modra2-0/+6
2001-11-19 * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefinedAlan Modra2-1/+5
millicode syms as candidates for import stubs.
2001-11-19 * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.Alan Modra2-59/+63
(allocate_PIC_calls): Rename to allocate_plt_static. (allocate_dynrelocs): Move most of code handling .plt entries to.. (allocate_plt_static): ..here. Don't drop plabel entries.
2001-11-19 * mmo.c: Adjust documentation tags to use texinfo 4 features.Hans-Peter Nilsson2-6/+10
2001-11-19 * doc/c-mmix.texi: Use texinfo 4 features.Hans-Peter Nilsson2-20/+25
(MMIX-mmixal): Fix typo.
2001-11-19*** empty log message ***gdbadmin1-1/+1
2001-11-18 * COPYING.NEWLIB: Mention preserved notice in specific parts.Hans-Peter Nilsson2-1/+6
2001-11-18daily updateAlan Modra1-1/+1
2001-11-18* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.Andrew Cagney3-2/+9
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18 * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()Kevin Buettner2-1/+6
conversion for I386_LINUX_ORIG_EAX_REGNUM.
2001-11-18Zap config/i386/tm-embed.h.Andrew Cagney3-27/+6