David Carlton [Fri, 27 Sep 2002 19:33:48 +0000 (19:33 +0000)]
2002-09-27 David Carlton <carlton@math.stanford.edu>
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
(mcore-tdep.o): Ditto.
(ns32k-tdep.o): Ditto.
(ns32knbsd-tdep.o): Ditto.
(sh3-rom.o): Ditto.
(vax-tdep.o): Ditto.
* cris-tdep.c: #include "gdb_string.h"
* mcore-tdep.c: Ditto.
* ns32k-tdep.c: Ditto.
* ns32knbsd-tdep.c: Ditto.
* sh3-rom.c: Ditto.
* vax-tdep.c: Ditto.
Jakub Jelinek [Fri, 27 Sep 2002 19:29:18 +0000 (19:29 +0000)]
bfd/
* reloc.c: Add x86-64 TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
relocs. Add TLS relocs.
(x86_64_reloc_map): Add TLS relocs.
(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
(struct elf64_x86_64_link_hash_entry): Add tls_type field.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
(elf64_x86_64_hash_entry): Define.
(struct elf64_x86_64_obj_tdata): New.
(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
(link_hash_newfunc): Initialize tls_type.
(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
(elf64_x86_64_mkobject): New.
(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
(elf64_x86_64_tls_transition): New.
(elf64_x86_64_check_relocs): Add r_type variable and use it.
Handle TLS relocs.
(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
(allocate_dynrelocs): Allocate GOT space for TLS relocs.
(elf64_x86_64_size_dynamic_sections): Likewise.
(dtpoff_base, tpoff): New.
(elf64_x86_64_relocate_section): Handle TLS relocs.
(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
entries.
(bfd_elf64_mkobject): Define.
* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
DF_STATIC_TLS if shared.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
Define them if not BFD_ASSEMBLER.
(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
@tlsld.
(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Add.
* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
file_contents): Remove.
(sh64tests): Add 6th field to the tests array.
* ld-i386/i386.exp (run_ld_link_tests): Remove.
* ld-x86-64/x86-64.exp: New.
* ld-x86-64/tlsbin.dd: New test.
* ld-x86-64/tlsbinpic.s: New test.
* ld-x86-64/tlsbin.rd: New test.
* ld-x86-64/tlsbin.s: New test.
* ld-x86-64/tlsbin.sd: New test.
* ld-x86-64/tlsbin.td: New test.
* ld-x86-64/tlslib.s: New test.
* ld-x86-64/tlspic1.s: New test.
* ld-x86-64/tlspic2.s: New test.
* ld-x86-64/tlspic.dd: New test.
* ld-x86-64/tlspic.rd: New test.
* ld-x86-64/tlspic.sd: New test.
* ld-x86-64/tlspic.td: New test.
David Carlton [Fri, 27 Sep 2002 19:20:53 +0000 (19:20 +0000)]
2002-09-27 David Carlton <carlton@math.stanford.edu>
* config/djgpp/fnchange.lst: Add entries for
gdb/testsuite/gdb.c++/m-static files.
Jim Wilson [Fri, 27 Sep 2002 18:59:08 +0000 (18:59 +0000)]
Fix bug in support for trap instruction.
* simops (OP_10007E0): Don't subtract 4 from PC.
Jim Wilson [Fri, 27 Sep 2002 18:58:04 +0000 (18:58 +0000)]
* MAINTAINERS: Add myself to the Write After Approval list.
Jim Wilson [Fri, 27 Sep 2002 18:55:44 +0000 (18:55 +0000)]
Add myself to write-after-approval section with Andrew Cagney's permission.
Andrew Cagney [Fri, 27 Sep 2002 18:09:27 +0000 (18:09 +0000)]
2002-07-12 Mo DeJong <supermo@bayarea.net>
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
Andrew Cagney [Fri, 27 Sep 2002 17:56:37 +0000 (17:56 +0000)]
Use @sc{gcc} and @sc{gdb}.
H.J. Lu [Fri, 27 Sep 2002 14:53:16 +0000 (14:53 +0000)]
2002-09-27 H.J. Lu <hjl@gnu.org>
* gas/mips/mips-jalx.s: Add ".p2align 4".
* gas/mips/mips16-jalx.s: Likewise.
* gas/mips/mips-jalx.d: Check nop.
* gas/mips/mips16-jalx.d: Likewise.
Keith Seitz [Fri, 27 Sep 2002 14:49:26 +0000 (14:49 +0000)]
* lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
Alan Modra [Fri, 27 Sep 2002 04:38:47 +0000 (04:38 +0000)]
* config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
fixups to current or absolute section.
Martin Hunt [Fri, 27 Sep 2002 00:49:01 +0000 (00:49 +0000)]
2002-09-26Martin M. Hunt <hunt@redhat.com>
* mips-tdep.c (find_proc_desc): Initialize startaddr.
Alan Modra [Fri, 27 Sep 2002 00:00:03 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 27 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Thu, 26 Sep 2002 22:34:07 +0000 (22:34 +0000)]
2002-09-26 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
frame.
Andrew Cagney [Thu, 26 Sep 2002 22:29:09 +0000 (22:29 +0000)]
2002-09-26 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
(rs6000_struct_return_address): Delete variable.
(rs6000_store_struct_return): Update.
(rs6000_gdbarch_init): Set extract_struct_value_address instead of
deprecated_extract_struct_value_address.
(rs6000_frame_align): New function.
(rs6000_gdbarch_init): Set frame_align.
Jim Wilson [Thu, 26 Sep 2002 22:04:19 +0000 (22:04 +0000)]
Fix v850 .offset pseudo-op
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
and frag_more.
Andrew Cagney [Thu, 26 Sep 2002 19:40:29 +0000 (19:40 +0000)]
2002-09-26 Andrew Cagney <
ac131313@redhat.com>
* regs/: Delete directory.
Elena Zannoni [Thu, 26 Sep 2002 18:35:21 +0000 (18:35 +0000)]
2002-09-26 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (dump_insns): Add text only output for CLI.
(do_mixed_source_and_assembly): Ditto.
Andrew Cagney [Thu, 26 Sep 2002 17:46:04 +0000 (17:46 +0000)]
2002-09-26 Andrew Cagney <
ac131313@redhat.com>
From Grace Sainsbury <graces@redhat.com>:
* Makefile.in (gdbtk-main.o): New target.
(gdb.o): New target.
(main_h): Define.
(main.o): Update dependencies.
(gdb$(EXEEXT)): Add gdb.o.
(SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
(SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
(SUBDIR_GDBTK_CLEAN): Set.
(install-gdbtk): Install the insight binary.
(uninstall-gdbtk): New target.
(all-gdbtk, clean-gdbtk): New rule.
* top.c (use_windows): Default to zero.
* main.c: Include "main.h".
(main): Delete.
(struct captured_main_args): Delete.
(gdb_main): New function.
* main.h: New file.
* gdb.c: New File.
2002-09-26 Andrew Cagney <
ac131313@redhat.com>
From Grace Sainsbury <graces@redhat.com>:
* generic/gdbtk-main.c: New file.
Thiemo Seufer [Thu, 26 Sep 2002 09:56:35 +0000 (09:56 +0000)]
/gas/ChangeLog
* config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
capable configuration.
(macro_build): Check for MIPS16 capability, not for actual MIPS16 code
generation.
(mips_ip): Likewise.
/gas/testsuite/ChangeLog
* gas/mips/mips-jalx.d: New file, check jalx assembly.
* gas/mips/mips-jalx.s: Likewise.
* gas/mips/mips-no-jalx.l: Likewise.
* gas/mips/mips-no-jalx.s: Likewise.
* gas/mips/mips16-jalx.d: Likewise.
* gas/mips/mips16-jalx.s: Likewise.
* gas/mips/mips.exp: Add new tests.
/opcodes/ChangeLog:
* mips-dis.c (print_insn_mips): Always allow disassembly of
32-bit jalx opcode.
Thiemo Seufer [Thu, 26 Sep 2002 09:10:57 +0000 (09:10 +0000)]
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded
empty relocation sections.
Thiemo Seufer [Thu, 26 Sep 2002 09:00:08 +0000 (09:00 +0000)]
* config/tc-mips.c (append_insn): Fix jump overflow check.
* gas/mips/jal-range.s: Fix jump overflow check.
* gas/mips/jal-range.l: Likewise.
Alan Modra [Thu, 26 Sep 2002 05:19:38 +0000 (05:19 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here.
(ppc64_elf_build_stubs): Build them here instead.
Nathanael Nerode [Thu, 26 Sep 2002 04:25:16 +0000 (04:25 +0000)]
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
* configure: Make seds more autoconfy.
Alan Modra [Thu, 26 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 26 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Wed, 25 Sep 2002 22:55:30 +0000 (22:55 +0000)]
* gdb.texinfo: Use GNU/Linux instead of Linux.
Andrew Cagney [Wed, 25 Sep 2002 20:30:38 +0000 (20:30 +0000)]
2002-09-25 Andrew Cagney <cagney@redhat.com>
* frame.c: Include "gdb_string.h" and "builtin-regs.h".
(frame_map_regnum_to_name): New function.
(frame_map_name_to_regnum): New function.
* frame.h (frame_map_name_to_regnum): Declare.
(frame_map_regnum_to_name): Declare.
* builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
* builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
* parse.c: Do not include "builtin-regs.h".
(target_map_name_to_register): Delete function.
(write_dollar_variable): Use frame_map_name_to_regnum.
* parser-defs.h (target_map_name_to_register): Delete declaration.
* expprint.c: Include "frame.h".
(print_subexp): Use frame_map_regnum_to_name.
* eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
* infcmd.c (registers_info): Use frame_map_name_to_regnum.
2002-09-25 Andrew Cagney <cagney@redhat.com>
* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
Nathanael Nerode [Wed, 25 Sep 2002 17:25:27 +0000 (17:25 +0000)]
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Rewrite substituted lines to look autoconfy.
* Makefile.in: Regenerate.
* configure.in: Rewrite sed statements to look autoconfy.
Daniel Jacobowitz [Wed, 25 Sep 2002 17:06:09 +0000 (17:06 +0000)]
From "Anita Kulkarni" <AnitaK@kpit.com>
* scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
sections.
Nathanael Nerode [Wed, 25 Sep 2002 16:56:04 +0000 (16:56 +0000)]
Really rebuild it this time. :sigh:
Nathanael Nerode [Wed, 25 Sep 2002 16:53:08 +0000 (16:53 +0000)]
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Autogenerate *-target-* lists, dependencies of
all-target-foo on configure-target-foo.
* Makefile.def: Ditto.
* Makefile.in: Rebuild.
Keith Seitz [Wed, 25 Sep 2002 16:08:43 +0000 (16:08 +0000)]
* mi-pthreads.exp (get_mi_thread_list): Check if expect_out
exists before using it.
(check_mi_and_console_threads): Likewise.
* gdb669.exp (get_mi_thread_list): Likewise.
(check_mi_and_console_threads): Likewise.
Andrew Cagney [Wed, 25 Sep 2002 13:56:54 +0000 (13:56 +0000)]
2002-09-25 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
Andrew Cagney [Wed, 25 Sep 2002 13:34:53 +0000 (13:34 +0000)]
2002-09-25 Andrew Cagney <
ac131313@redhat.com>
* rs6000-tdep.c (rs6000_frame_saved_pc): If the link register
wasn't saved, and the next innermost frame is a dummy, return the
dummy frame's link register.
Alan Modra [Wed, 25 Sep 2002 07:21:08 +0000 (07:21 +0000)]
* genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
TARGET_PAGE_SIZE.
* scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
SEGMENT_SIZE alignment.
* emulparams/elf64ppc.sh (DATA_ADDR): Delete.
(SEGMENT_SIZE): Define.
Jim Blandy [Wed, 25 Sep 2002 03:10:26 +0000 (03:10 +0000)]
Fix from Paul Breed:
* main.c (captured_main): Add a `break' after the case for 'b'.
Alan Modra [Wed, 25 Sep 2002 02:42:13 +0000 (02:42 +0000)]
* ldexp.c (fold_unary): New. Split out from exp_fold_tree.
(fold_binary): Correct abs - non-abs case.
(fold_trinary): New. Split out from exp_fold_tree.
gdbadmin [Wed, 25 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 25 Sep 2002 00:00:09 +0000 (00:00 +0000)]
daily update
Nathanael Nerode [Tue, 24 Sep 2002 23:01:30 +0000 (23:01 +0000)]
2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.def: New file.
* Makefile.tpl: New file.
* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.
* configure.in: Minor rearrangement. Simplify tests.
Keith Seitz [Tue, 24 Sep 2002 19:36:06 +0000 (19:36 +0000)]
* configure.in: Add config header.
Check for pthread.h.
* configure: Regenerate.
* config.in: New file.
* pthreads.c: New file.
* mi-pthreads.exp: New file to test thread functionality.
* gdb669.exp: New file.
Keith Seitz [Tue, 24 Sep 2002 18:50:34 +0000 (18:50 +0000)]
* varobj.c (c_type_of_child): Use get_target_type instead
of TYPE_TARGET_TYPE.
Andrew Cagney [Tue, 24 Sep 2002 16:07:42 +0000 (16:07 +0000)]
2002-09-24 Andrew Cagney <
ac131313@redhat.com>
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
test_isolated_complaints.
(test_empty_complaint): New function.
(test_empty_complaints): New function. Check no output when no
complaints.
Jakub Jelinek [Tue, 24 Sep 2002 15:54:22 +0000 (15:54 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE
addend into r_addend, not *r_offset.
(elf32_sparc_finish_dynamic_symbol): Likewise.
* elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at
R_SPARC_RELATIVE's r_offset.
Andrew Cagney [Tue, 24 Sep 2002 14:30:36 +0000 (14:30 +0000)]
2002-09-24 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo: Replace @example' with @smallexample.
Nick Clifton [Tue, 24 Sep 2002 13:00:33 +0000 (13:00 +0000)]
Updated German translation.
Nick Clifton [Tue, 24 Sep 2002 07:11:16 +0000 (07:11 +0000)]
Fix typo introduced with previous delta.
Alan Modra [Tue, 24 Sep 2002 04:02:03 +0000 (04:02 +0000)]
* emulparams/elf64ppc.sh (DATA_ADDR): Define.
* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
for start of .data, instead align up to 256M boundary.
* scripttempl/aix.sc: Likewise.
Alan Modra [Tue, 24 Sep 2002 01:46:42 +0000 (01:46 +0000)]
* config/tc-i386.c (process_operands): Warn about "lea" segment
overrides.
Alan Modra [Tue, 24 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 24 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jason Thorpe [Mon, 23 Sep 2002 23:36:54 +0000 (23:36 +0000)]
* configure.in (with_headers): Skip copy if value is "yes".
(with_libs): Likewise.
Daniel Jacobowitz [Mon, 23 Sep 2002 21:29:27 +0000 (21:29 +0000)]
Add missing ChangeLog entry
Nick Clifton [Mon, 23 Sep 2002 16:46:33 +0000 (16:46 +0000)]
Add LDM and STM instructions which are unpredictable because of their use of
the writeback bit.
Nick Clifton [Mon, 23 Sep 2002 16:13:52 +0000 (16:13 +0000)]
Update to correctly decode (non-standard DWARF2) out-of-order address sequences.
DJ Delorie [Mon, 23 Sep 2002 12:08:57 +0000 (12:08 +0000)]
merge from gcc
DJ Delorie [Mon, 23 Sep 2002 11:59:34 +0000 (11:59 +0000)]
* config.bfd: For DJGPP targets, match with any cpu and any machine.
DJ Delorie [Mon, 23 Sep 2002 11:58:00 +0000 (11:58 +0000)]
* write.c: Delete set_segment_vma and prototype. Update all callers.
DJ Delorie [Mon, 23 Sep 2002 11:36:15 +0000 (11:36 +0000)]
* scripttempl/i386go32.sc: Handle bss unique sections.
Alan Modra [Mon, 23 Sep 2002 10:52:03 +0000 (10:52 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs
for discarded FDEs. Remove redundant assignment.
* elflink.h (elf_bfd_discard_info): Save edited relocs.
gdbadmin [Mon, 23 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 23 Sep 2002 00:00:09 +0000 (00:00 +0000)]
daily update
H.J. Lu [Sun, 22 Sep 2002 22:32:49 +0000 (22:32 +0000)]
2002-09-22 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge
the relocation count between different .reloc sections.
Fernando Nasser [Sun, 22 Sep 2002 22:18:41 +0000 (22:18 +0000)]
* source.c (get_current_or_default_source_symtab_and_line): Remove
function.
(set_default_source_symtab_and_line): New function. Attempts to
determine a source file to list lines from if one is not currently
defined.
(get_current_source_symtab_and_line): Initialize sal.pc and
sal.end fields.
(set_current_source_symtab_and_line): Mark argument as const.
* source.h: Update declarations and comments.
* linespec.c (decode_line_1): Replace call to removed routine above.
* stack.c (print_frame_info_base): Ditto.
* cli/cli-cmds.c (edit_command): Ditto.
(list_command): Ditto.
Fernando Nasser [Sun, 22 Sep 2002 20:29:52 +0000 (20:29 +0000)]
* source.c (get_current_source_symtab_and_line): Initialize sal.pc and
sal.end fields.
(get_current_or_default_source_symtab_and_line): Ditto.
* breakpoint.c (parse_breakpoint_sals): Use correct accessor function
so we do not cause a new source symtab to be searched for (reverting an
unintentional change from the 2002-09-20 patch).
* scm-lang.c (scm_unpac): Ditto.
Alan Modra [Sun, 22 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 22 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sat, 21 Sep 2002 16:36:33 +0000 (16:36 +0000)]
2002-09-21 Andrew Cagney <cagney@redhat.com>
* complaints.c (symfile_explanations): Remove new-line from
``isolated_message''.
(vcomplaint): When ISOLATED_MESSAGE, force a line break.
(clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
Nathanael Nerode [Sat, 21 Sep 2002 16:35:47 +0000 (16:35 +0000)]
2002-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs.
* configure.in (sh*-*-pe*): Ditto.
* configure.in (mips*-*-pe*): Ditto.
* configure.in (*arm-wince-pe): Ditto.
Alan Modra [Sat, 21 Sep 2002 14:14:25 +0000 (14:14 +0000)]
* ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
Alan Modra [Sat, 21 Sep 2002 14:14:00 +0000 (14:14 +0000)]
* ld-undefined/undefined.exp: Adjust function test.
Nick Clifton [Sat, 21 Sep 2002 11:55:17 +0000 (11:55 +0000)]
NEWS: Announce that V850EA ISA is no longer supported.
v850-tdep.c: Remove reference to bfd_mach_v850ea.
Alan Modra [Sat, 21 Sep 2002 10:49:05 +0000 (10:49 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
Alan Modra [Sat, 21 Sep 2002 10:39:17 +0000 (10:39 +0000)]
* config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
Rename "fseg" to "sym_seg".
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
Alan Modra [Sat, 21 Sep 2002 10:09:13 +0000 (10:09 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and
".sdata.*" for R_PPC_SDAREL16, ".sbss2*" and ".sdata2*" for
R_PPC_EMB_SDA2REL. Similarly for R_PPC_EMB_SDA21 and
R_PPC_EMB_RELSDA.
Alan Modra [Sat, 21 Sep 2002 09:59:19 +0000 (09:59 +0000)]
* elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount"
unsigned. Move "symcount" assignment out of loop.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regnerate.
Nick Clifton [Sat, 21 Sep 2002 07:27:43 +0000 (07:27 +0000)]
Fix UNPREDICATABLE use of writeback in LDM/STM instructions.
Kevin Buettner [Sat, 21 Sep 2002 00:29:04 +0000 (00:29 +0000)]
2002-09-20 Kevin Buettner <kevinb@redhat.com>
From Eli Zaretskii <eliz@is.elta.co.il>:
* gdb.texinfo (Character Sets): Use @smallexample instead of
@example. Use GNU/Linux instead of Linux.
2002-09-20 Jim Blandy <jimb@redhat.com>
* gdb.texinfo: Add character set documentation.
Alan Modra [Sat, 21 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 21 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Nathanael Nerode [Fri, 20 Sep 2002 21:03:04 +0000 (21:03 +0000)]
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
* configure.in: Rearrange.
David Carlton [Fri, 20 Sep 2002 18:14:49 +0000 (18:14 +0000)]
2002-09-20 David Carlton <carlton@math.stanford.edu>
* Makefile.in (c-lang.o): Correct dependencies.
(utils.o): Gather dependencies.
(charset.o): Move.
David Carlton [Fri, 20 Sep 2002 17:37:11 +0000 (17:37 +0000)]
2002-09-20 David Carlton <carlton@math.stanford.edu>
* c-lang.c: #include "gdb_string.h"
Nick Clifton [Fri, 20 Sep 2002 15:44:23 +0000 (15:44 +0000)]
Allow CRFS and CRFD operands to accept CR register names
Fernando Nasser [Fri, 20 Sep 2002 15:07:15 +0000 (15:07 +0000)]
From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>
* cli/cli-cmds.c (list_command): New function. Implements the new
cli edit command.
(_init_cli_cmds): Add new command definition.
* gdb.1: Document edit command.
* doc/gdb.texinfo: Document edit command.
Fernando Nasser [Fri, 20 Sep 2002 14:58:59 +0000 (14:58 +0000)]
* source.c: Make global variables current_source_symtab and
current_source_line static.
(list_command): Moved to cli/cli-cmds.c.
(ambiguous_line_spec): Moved to cli/cli-cmds.c.
(get_first_line_listed): New accessor function.
(get_lines_to_list): New accessor function.
(get_current_source_symtab_and_line): New function. Retrieves the
position in the source code that we consider current.
(get_current_or_default_source_symtab_and_line): New function.
Like the above but attempts to determine a default position if one
is not currently defined.
(set_current_source_symtab_and_line): New function. Sets the source
code position considered current and returns the previously set one.
(clear_current_source_symtab_and_line): Reset stored information about
a current source line.
(_initialize_source): Remove registration for the "list" command and
its alias.
* source.h: Add declarations for the new functions above.
* symtab.h: Remove declarations for the global variables mentioned
above.
* breakpoint.c (parse_breakpoint_sals): Use accessor functions to
obtain current source line.
* linespec.c (decode_line_1): Ditto.
* macroscope.c (default_macro_scope): Ditto.
* scm-lang.c (scm_unpac): Ditto.
* stack.c (print_frame_info_base): Ditto.
* symfile.c (clear_symtab_users): Ditto.
* symtab.c (decode_line_spec): Ditto.
* cli/cli-cmds.c (list_command): Moved here from source.c.
(ambiguous_line_spec): Moved here from source.c.
(_init_cli_cmds): Add definition for "list" and its alias.
* Makefile.in: Update dependencies.
Nick Clifton [Fri, 20 Sep 2002 14:47:14 +0000 (14:47 +0000)]
symbols.c (colon): Do not allow symbols to be created in the absolute section
if WORKING_DOT_WORD is not defined and new_broken_words would require a new
frag to be created.
Corinna Vinschen [Fri, 20 Sep 2002 14:22:44 +0000 (14:22 +0000)]
* h8300-tdep.c (h8300_examine_prologue): Match saved regs location
with what gcc thinks is correct.
DJ Delorie [Fri, 20 Sep 2002 13:45:20 +0000 (13:45 +0000)]
merge from gcc
Corinna Vinschen [Fri, 20 Sep 2002 12:08:37 +0000 (12:08 +0000)]
* h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
multiple register push instruction.
Alan Modra [Fri, 20 Sep 2002 07:57:08 +0000 (07:57 +0000)]
* ld-i386/i386.exp: Only run tests on ELF targets.
Nick Clifton [Fri, 20 Sep 2002 07:28:54 +0000 (07:28 +0000)]
(_bfd_dwarf2_find_nearest_line): If address length is zero, set it to 8 for
(non-standard) 64-bit DWARF2 formats (e.g. IRIX64).
Nick Clifton [Fri, 20 Sep 2002 06:57:41 +0000 (06:57 +0000)]
Do not allow symbols to be created in the absolute section.
H.J. Lu [Fri, 20 Sep 2002 05:54:41 +0000 (05:54 +0000)]
2002-09-19 Jakub Jelinek <jakub@redhat.com>
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word
even if generating R_PPC_RELATIVE reloc.
(ppc_elf_relocate_section): Make sure relocation is performed
if skip == -2. Clear memory at r_offset when creating dynamic
relocation.
Alan Modra [Fri, 20 Sep 2002 00:58:39 +0000 (00:58 +0000)]
* expr.c (expr): Simplify foo-foo here.
(clean_up_expression): Remove O_subtract code.
Kevin Buettner [Fri, 20 Sep 2002 00:26:06 +0000 (00:26 +0000)]
Add new tests for charset support.
Kevin Buettner [Fri, 20 Sep 2002 00:24:01 +0000 (00:24 +0000)]
Add support for distinct host and target character sets.
Alexandre Oliva [Fri, 20 Sep 2002 00:21:58 +0000 (00:21 +0000)]
* libiberty.h (asprintf, vasprintf): Don't declare them if the
corresponding HAVE_DECL_ macro is 1.