binutils-gdb.git
22 years agoFix typo introduced with previous delta.
Nick Clifton [Tue, 24 Sep 2002 07:11:16 +0000 (07:11 +0000)]
Fix typo introduced with previous delta.

22 years ago * emulparams/elf64ppc.sh (DATA_ADDR): Define.
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.

22 years ago * config/tc-i386.c (process_operands): Warn about "lea" segment
Alan Modra [Tue, 24 Sep 2002 01:46:42 +0000 (01:46 +0000)]
* config/tc-i386.c (process_operands): Warn about "lea" segment
overrides.

22 years agodaily update
Alan Modra [Tue, 24 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 24 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* configure.in (with_headers): Skip copy if value is "yes".
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.

22 years agoAdd missing ChangeLog entry
Daniel Jacobowitz [Mon, 23 Sep 2002 21:29:27 +0000 (21:29 +0000)]
Add missing ChangeLog entry

22 years agoAdd LDM and STM instructions which are unpredictable because of their use of
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.

22 years agoUpdate to correctly decode (non-standard DWARF2) out-of-order address sequences.
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.

22 years agomerge from gcc
DJ Delorie [Mon, 23 Sep 2002 12:08:57 +0000 (12:08 +0000)]
merge from gcc

22 years ago* config.bfd: For DJGPP targets, match with any cpu and any machine.
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.

22 years ago* write.c: Delete set_segment_vma and prototype. Update all callers.
DJ Delorie [Mon, 23 Sep 2002 11:58:00 +0000 (11:58 +0000)]
* write.c: Delete set_segment_vma and prototype. Update all callers.

22 years ago* scripttempl/i386go32.sc: Handle bss unique sections.
DJ Delorie [Mon, 23 Sep 2002 11:36:15 +0000 (11:36 +0000)]
* scripttempl/i386go32.sc: Handle bss unique sections.

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs
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.

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

22 years agodaily update
Alan Modra [Mon, 23 Sep 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
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.

22 years ago * source.c (get_current_or_default_source_symtab_and_line): Remove
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.

22 years ago * source.c (get_current_source_symtab_and_line): Initialize sal.pc and
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.

22 years agodaily update
Alan Modra [Sun, 22 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 22 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-21 Andrew Cagney <cagney@redhat.com>
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.

22 years ago2002-09-20 Nathanael Nerode <neroden@gcc.gnu.org>
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.

22 years ago * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
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.

22 years ago * ld-undefined/undefined.exp: Adjust function test.
Alan Modra [Sat, 21 Sep 2002 14:14:00 +0000 (14:14 +0000)]
* ld-undefined/undefined.exp: Adjust function test.

22 years agoNEWS: Announce that V850EA ISA is no longer supported.
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.

22 years ago * Makefile.am: Run "make dep-am".
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.

22 years ago * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
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.

22 years ago * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and
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.

22 years ago * elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount"
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.

22 years agoFix UNPREDICATABLE use of writeback in LDM/STM instructions.
Nick Clifton [Sat, 21 Sep 2002 07:27:43 +0000 (07:27 +0000)]
Fix UNPREDICATABLE use of writeback in LDM/STM instructions.

22 years ago2002-09-20 Kevin Buettner <kevinb@redhat.com>
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.

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

22 years ago*** empty log message ***
gdbadmin [Sat, 21 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
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.

22 years ago2002-09-20 David Carlton <carlton@math.stanford.edu>
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.

22 years ago2002-09-20 David Carlton <carlton@math.stanford.edu>
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"

22 years agoAllow CRFS and CRFD operands to accept CR register names
Nick Clifton [Fri, 20 Sep 2002 15:44:23 +0000 (15:44 +0000)]
Allow CRFS and CRFD operands to accept CR register names

22 years ago From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>
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.

22 years ago * source.c: Make global variables current_source_symtab and
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.

22 years agosymbols.c (colon): Do not allow symbols to be created in the absolute section
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.

22 years ago * h8300-tdep.c (h8300_examine_prologue): Match saved regs location
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.

22 years agomerge from gcc
DJ Delorie [Fri, 20 Sep 2002 13:45:20 +0000 (13:45 +0000)]
merge from gcc

22 years ago * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
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.

22 years ago * ld-i386/i386.exp: Only run tests on ELF targets.
Alan Modra [Fri, 20 Sep 2002 07:57:08 +0000 (07:57 +0000)]
* ld-i386/i386.exp: Only run tests on ELF targets.

22 years ago(_bfd_dwarf2_find_nearest_line): If address length is zero, set it to 8 for
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).

22 years agoDo not allow symbols to be created in the absolute section.
Nick Clifton [Fri, 20 Sep 2002 06:57:41 +0000 (06:57 +0000)]
Do not allow symbols to be created in the absolute section.

22 years ago2002-09-19 Jakub Jelinek <jakub@redhat.com>
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.

22 years ago * expr.c (expr): Simplify foo-foo here.
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.

22 years agoAdd new tests for charset support.
Kevin Buettner [Fri, 20 Sep 2002 00:26:06 +0000 (00:26 +0000)]
Add new tests for charset support.

22 years agoAdd support for distinct host and target character sets.
Kevin Buettner [Fri, 20 Sep 2002 00:24:01 +0000 (00:24 +0000)]
Add support for distinct host and target character sets.

22 years ago* libiberty.h (asprintf, vasprintf): Don't declare them if the
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.

22 years agodaily update
Alan Modra [Fri, 20 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

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

22 years ago * write.h (struct fix): Add fx_dot_value.
Alan Modra [Thu, 19 Sep 2002 23:51:35 +0000 (23:51 +0000)]
* write.h (struct fix): Add fx_dot_value.
(dot_value): Declare.
* write.c (dot_value): New var.
(fix_new_internal): Save dot_value as fx_dot_value.
* expr.c (expr): Update dot_value.

22 years ago2002-09-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 19 Sep 2002 23:09:30 +0000 (23:09 +0000)]
2002-09-19  Andrew Cagney  <ac131313@redhat.com>

* gdb.texinfo (Packets): Revise `z' and `Z' packet documentation.
(Packets): Add cross reference from `b' packet to `z' packets.

22 years agobfd/
Jakub Jelinek [Thu, 19 Sep 2002 19:01:18 +0000 (19:01 +0000)]
bfd/
* reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE,
BFD_RELOC_386_TLS_GOTIE): Add.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE
and R_386_TLS_GOTIE.
(elf_i386_reloc_type_lookup): Handle it.
(struct elf_i386_link_hash_entry): Change tls_type type to unsigned
char instead of enum, change GOT_* into defines.
(GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define.
(elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
(elf_i386_check_relocs): Likewise.  Avoid crash if local symbol is
accessed both as normal and TLS symbol.  Move R_386_TLS_LDM and
R_386_PLT32 cases so that R_386_TLS_IE can fall through.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if
tls_type is GOT_TLS_IE_BOTH.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch
all 4 GOT_TLS_* TLS types.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
(BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
if not defined.
(lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
(md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
BFD_RELOC_386_TLS_GOTIE.
gas/testsuite/
* gas/i386/tlspic.s: Add tests.
* gas/i386/tlspic.d: Regenerated.
* gas/i386/tlsnopic.s: Add tests.
* gas/i386/tlsnopic.d: Regenerated.
include/
* elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE):
Define.
ld/testsuite/
* ld-i386/i386.exp: New.
* ld-i386/tlsbin.dd: New test.
* ld-i386/tlsbinpic.s: New test.
* ld-i386/tlsbin.rd: New test.
* ld-i386/tlsbin.s: New test.
* ld-i386/tlsbin.sd: New test.
* ld-i386/tlsbin.td: New test.
* ld-i386/tlslib.s: New test.
* ld-i386/tlsnopic1.s: New test.
* ld-i386/tlsnopic2.s: New test.
* ld-i386/tlsnopic.dd: New test.
* ld-i386/tlsnopic.rd: New test.
* ld-i386/tlsnopic.sd: New test.
* ld-i386/tlspic1.s: New test.
* ld-i386/tlspic2.s: New test.
* ld-i386/tlspic.dd: New test.
* ld-i386/tlspic.rd: New test.
* ld-i386/tlspic.sd: New test.
* ld-i386/tlspic.td: New test.

22 years agoUpdate email addresses for bugs and patches.
Nick Clifton [Thu, 19 Sep 2002 18:07:44 +0000 (18:07 +0000)]
Update email addresses for bugs and patches.

22 years agoWhen examining weak symbols, follow indirect links.
Nick Clifton [Thu, 19 Sep 2002 16:34:14 +0000 (16:34 +0000)]
When examining weak symbols, follow indirect links.

22 years ago * config/tc-alpha.c (md_pcrel_from): Only adjust special for
Richard Henderson [Thu, 19 Sep 2002 16:13:38 +0000 (16:13 +0000)]
    * config/tc-alpha.c (md_pcrel_from): Only adjust special for
        branch type relocs.
        (alpha_force_relocation): Don't special-case branch type relocs.

        * gas/alpha/elf-reloc-7.s: New.
        * gas/alpha/elf-reloc-7.d: New.
        * gas/alpha/alpha.exp: Run it.

22 years ago2002-09-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 19 Sep 2002 15:51:25 +0000 (15:51 +0000)]
2002-09-19  Andrew Cagney  <ac131313@redhat.com>

* gdb.texinfo (Maintenance Commands): Document ``maint
internal-error'' and ``maint internal-warning''.

22 years agoRemove (errant) trailing semicolon (;) from the extern "C" { } declaration.
Nick Clifton [Thu, 19 Sep 2002 15:48:16 +0000 (15:48 +0000)]
Remove (errant) trailing semicolon (;) from the extern "C" { } declaration.

22 years ago2002-09-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 19 Sep 2002 15:43:49 +0000 (15:43 +0000)]
2002-09-19  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Revise
description of STACK_ALIGN.  Add description of FRAME_ALIGN.

22 years agoFix error reading ECOFF information: 'ioptMax' refers to the actual *size*
Nick Clifton [Thu, 19 Sep 2002 15:38:36 +0000 (15:38 +0000)]
Fix error reading ECOFF information: 'ioptMax' refers to the actual *size*
of the optimization symtab, not the number of entries.

22 years agoUpdate to correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1)
Nick Clifton [Thu, 19 Sep 2002 15:31:30 +0000 (15:31 +0000)]
Update to correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1)

22 years ago2002-09-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 19 Sep 2002 15:22:47 +0000 (15:22 +0000)]
2002-09-19  Andrew Cagney  <ac131313@redhat.com>

* gdb.gdb/complaints.exp: New file.

22 years ago(elf32_arm_adjust_dynamic_symbol): Update ELF_LINK_HASH_NEEDS_PLT logic.
Nick Clifton [Thu, 19 Sep 2002 14:59:51 +0000 (14:59 +0000)]
(elf32_arm_adjust_dynamic_symbol): Update ELF_LINK_HASH_NEEDS_PLT logic.

22 years agoHandle situation where architecture has not yet been selected.
Nick Clifton [Thu, 19 Sep 2002 14:52:15 +0000 (14:52 +0000)]
Handle situation where architecture has not yet been selected.

22 years ago * ada-exp.y: Add missing semicolons to end rules. Fixes a
Joel Brobecker [Thu, 19 Sep 2002 13:59:26 +0000 (13:59 +0000)]
   * ada-exp.y: Add missing semicolons to end rules. Fixes a
       bison 1.35 warning.

22 years ago * gdbint.texinfo (Target Conditionals): Document the new
Joel Brobecker [Thu, 19 Sep 2002 13:14:46 +0000 (13:14 +0000)]
    * gdbint.texinfo (Target Conditionals): Document the new
        NAME_OF_MALLOC macro.

22 years agoFix the ChangeLog entry for my last commit.
Jakub Jelinek [Thu, 19 Sep 2002 11:38:22 +0000 (11:38 +0000)]
Fix the ChangeLog entry for my last commit.

22 years agoAdd missing ".
Richard Earnshaw [Thu, 19 Sep 2002 10:21:53 +0000 (10:21 +0000)]
Add missing ".

22 years ago* gdb_mbuild.sh: New file.
Richard Earnshaw [Thu, 19 Sep 2002 10:11:41 +0000 (10:11 +0000)]
* gdb_mbuild.sh: New file.

22 years agoRemove v850ea references
Nick Clifton [Thu, 19 Sep 2002 07:52:02 +0000 (07:52 +0000)]
Remove v850ea references

22 years agoCredit Apple and AdamF for their part in the objective C patches.
Andrew Cagney [Thu, 19 Sep 2002 04:26:26 +0000 (04:26 +0000)]
Credit Apple and AdamF for their part in the objective C patches.

22 years agoFix (C) and credit Michael Snyder with objc-lang.c.
Andrew Cagney [Thu, 19 Sep 2002 04:12:10 +0000 (04:12 +0000)]
Fix (C) and credit Michael Snyder with objc-lang.c.

22 years agoRevert previous change. Not obvious.
Andrew Cagney [Thu, 19 Sep 2002 03:58:41 +0000 (03:58 +0000)]
Revert previous change.  Not obvious.

22 years ago2002-09-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 19 Sep 2002 01:34:51 +0000 (01:34 +0000)]
2002-09-18  Michael Snyder  <msnyder@redhat.com>

Preliminary support for Objective-C:
* defs.h (language_objc): New enum value.
(puts_filtered_tabular): Declaration only, exported from utils.c.
(skip_quoted): Delete, declared in completer.h.
* c-exp.y: Include completer.h.
* p-exp.y: Ditto.
* jv-exp.y: Ditto.
* expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING):
New operator enum values.
* language.h (CAST_IS_CONVERSION): Test for language_objc.
* language.c (binop_result_type): Handle language_objc case.
(integral_type, character_type, string_type, boolean_type,
structured_type, binop_type_check): Ditto.
* symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define.
(struct objc_specific): Add to general_symbol_info.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization.
(SYMBOL_DEMANGLED_NAME): Handle objc case.
* parser-defs.h (struct objc_class_str): New struct type.
(start_msglist, end_msglist, add_msglist): Declaration only,
exported from objc-lang.c.
* value.h (value_of_local, value_nsstring,
call_function_by_hand_expecting_type): Exported from valops.c.
* valops.c (find_function_addr): Export.
(call_function_by_hand_expecting_type): New function.
(value_of_local): New function.
* symfile.c (init_filename_language_table): Add ".m" extension
for Objective-C.
* utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Add objc demangling support (disabled).
(set/show demangle): Extend help-string to refer to ObjC.
* elfread.c (elf_symtab_read): Skip Objective-C special symbols.
* stabsread.c (symbol_reference_defined): Objective-C symbols
may contain colons: make allowances when scanning stabs strings
for colons.
(objc_find_colon): New function.
* printcmd.c (address_info): If language == objc then print
"self" instead of "this".
* parse.c (length_of_subexp): Handle new operators OP_MSGCALL,
OP_NSSTRING, and OP_SELF.
(prefixify_subexp): Ditto.
* source.c (print_source_lines): Mention objc in comment.
* breakpoint.c (parse_breakpoint_sals): Recognize Objective-C
method names.

22 years ago2002-09-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 19 Sep 2002 00:42:41 +0000 (00:42 +0000)]
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* complaints.h: Update copyright.
(struct complaints): Declare.
(struct complaint): Make `message' constant.
(internal_complaint): Declare.
(complaint): Declare.
(complaint_root): Delete declaration.
(symfile_complaints): Delete declaration.
(struct complaints): Add opaque declaration.
(clear_complaints): Add a complaints parameter.
* complaints.c: Update copyright.
(enum complaint_series): Define.
(complaint_root): Delete.
(struct complaints): Define.
(complaint_sentinel, symfile_complaint_book): New variables.
(symfile_explanations, symfile_complaints): New variables.
New variables.
(get_complaints): New function.
(vcomplaint): New function.
(complaint): New function.
(internal_complaint): New function.
(complain): Call vcomplain with symfile_complaint.
(clear_complaints): Rewrite.
(_initialize_complaints): Use add_setshow_command.
* Makefile.in (complaints.o): Update dependencies.
* symfile.c (syms_from_objfile): Add symfile_complaints parameter
to call to clear_complaints.
(new_symfile_objfile, reread_symbols): Ditto.
(oldsyms_complaint): Delete.
(empty_symtab_complaint, unknown_option_complaint): Delete.
(free_named_symtabs): Use complaint instead of complain.

22 years ago2002-09-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 19 Sep 2002 00:39:38 +0000 (00:39 +0000)]
2002-09-18  Michael Snyder  <msnyder@redhat.com>

* objc-lang.c: First clean-up round: comments, indentation.
* objc-lang.h: Ditto.
* objc-lang.y: Ditto.

22 years ago*** empty log message ***
gdbadmin [Thu, 19 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 19 Sep 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago2002-09-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Sep 2002 23:53:52 +0000 (23:53 +0000)]
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* maint.c (maintenance_internal_error): Print the parameter as the
error message.
(maintenance_internal_warning): New function.
(_initialize_maint_cmds): Add command `maint internal-warning'.

* defs.h (internal_warning, internal_vwarning): Declare.
* utils.c (struct internal_problem): Define.
(internal_vproblem): New function.
(internal_warning): New function.
(internal_vwarning): New function.
(internal_warning_problem, internal_error_problem): New variables.
(internal_verror): Just call internal_vproblem.

Index: testsuite/ChangeLog
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* gdb.base/maint.exp: Check `help maint internal-warning'.

22 years ago2002-09-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 18 Sep 2002 23:29:20 +0000 (23:29 +0000)]
2002-09-18  Michael Snyder  <msnyder@redhat.com>

* objc-lang.c: New file, support for Objective-C.
Preliminary check-in, not yet integrated into gdb.
        * objc-lang.h: New file.
        * objc-exp.y:  New file.

22 years ago2002-09-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Sep 2002 22:44:31 +0000 (22:44 +0000)]
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* infrun.c (signal_stop_update): Convert definition to ISO C.
(signal_print_update): Ditto.
(signal_pass_update): Ditto.
* inflow.c (terminal_save_ours): Ditto.

22 years ago2002-09-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Sep 2002 22:17:41 +0000 (22:17 +0000)]
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++
comments.

22 years ago2002-09-18 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 18 Sep 2002 22:09:21 +0000 (22:09 +0000)]
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Handle name clashes between
bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and
bfd/coff-tic80.c.

22 years agoFix GNU/Linux tipo.
Andrew Cagney [Wed, 18 Sep 2002 22:00:22 +0000 (22:00 +0000)]
Fix GNU/Linux tipo.

22 years agoAdd myself to the Write After Approval list.
Adam Fedor [Wed, 18 Sep 2002 21:52:55 +0000 (21:52 +0000)]
Add myself to the Write After Approval list.

22 years ago[ gas/ChangeLog ]
Chris Demetriou [Wed, 18 Sep 2002 21:45:29 +0000 (21:45 +0000)]
[ gas/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.

[ gas/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/baddata1.s: New file.
        * gas/mips/baddata1.l: New file.
        * gas/mips/mips.exp: Run new test.

22 years ago[ gas/ChangeLog ]
Chris Demetriou [Wed, 18 Sep 2002 21:33:07 +0000 (21:33 +0000)]
[ gas/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
        (IS_SEXT_16BIT_NUM): New macro.
        (macro_build_ldst_constoffset): New function, to build a set of
        instructions to do a load or store from a constant offset relative
        to a given register.
        (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
        .cprestore pseudo-op.

[ gas/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-abi32-pic2.s: New file.
        * gas/mips/mips-abi32-pic2.d: New file.
        * gas/mips/mips.exp: Run new test.

[ plus, fixed date on prev. gas/testsuite/ChangeLog entry. ]

22 years ago[ gas/ChangeLog ]
Chris Demetriou [Wed, 18 Sep 2002 21:05:59 +0000 (21:05 +0000)]
[ gas/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.

[ gas/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/baddata1.s: New file.
        * gas/mips/baddata1.l: New file.
        * gas/mips/mips.exp: Run new test.

22 years ago[ gas/testsuite/ChangeLog ]
Chris Demetriou [Wed, 18 Sep 2002 20:50:47 +0000 (20:50 +0000)]
[ gas/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/branch-misc-1.d: New file.
        * gas/mips/branch-misc-1.s: New file.
        * gas/mips/branch-misc-2.s: New file.
        * gas/mips/branch-misc-2.d: New file.
        * gas/mips/mips.exp: Run new tests.

[ ld/testsuite/ChangeLog ]
2002-09-18  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/branch-misc-1.d: New file.
        * ld-mips-elf/branch-misc-2.d: New file.
        * ld-mips-elf/mips-elf.exp: Run new tests.

22 years ago* dbxread.c, mdebugread.c: Revert my change of 2001-10-23. Moving
Jim Blandy [Wed, 18 Sep 2002 20:47:39 +0000 (20:47 +0000)]
* dbxread.c, mdebugread.c: Revert my change of 2001-10-23.  Moving
texthigh and textlow to reader-specific structs caused
objfile_relocate to miss them.  This is fixable, but the work that
the change was supposed to prepare GDB for never got done anyway.

22 years ago2002-09-18 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 18 Sep 2002 18:48:43 +0000 (18:48 +0000)]
2002-09-18  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/m-static.exp: Remove breakpoints depending on line
numbers, and replace them by a single breakpoint after the
constructors are all finished.
Add test 4.
* gdb.c++/m-static.cc: Add test 4.
* gdb.c++/m-static.h: New file.
* gdb.c++/m-static1.cc: New file.

* gdb.c++/printmethod.exp: New file.
* gdb.c++/printmethod.cc: New file.

* gdb.c++/pr-574.exp: New file.
* gdb.c++/pr-574.cc: New file.

22 years ago2002-09-18 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 18 Sep 2002 17:56:59 +0000 (17:56 +0000)]
2002-09-18  David Carlton  <carlton@math.stanford.edu>

* MAINTAINERS: Alphabetize Write After Approval list.

22 years ago* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
Stan Cox [Wed, 18 Sep 2002 17:28:37 +0000 (17:28 +0000)]
* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.

22 years ago * gdb.base/ending-run.exp: Add handling of "step to end of run" for
Corinna Vinschen [Wed, 18 Sep 2002 17:20:54 +0000 (17:20 +0000)]
* gdb.base/ending-run.exp: Add handling of "step to end of run" for
embedded targets which never actually exit.

22 years ago * gdb.base/ending-run.exp: Properly mark "continue after exit" and
Fernando Nasser [Wed, 18 Sep 2002 17:11:53 +0000 (17:11 +0000)]
* gdb.base/ending-run.exp: Properly mark "continue after exit" and
"don't step after run" as unresolved or unsupported, instead of xfail.

22 years ago * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
Corinna Vinschen [Wed, 18 Sep 2002 16:04:53 +0000 (16:04 +0000)]
* gdb.base/ending-run.exp: Fix expected string for _wrap_main to
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
Add newline to expected string in "step out of main (status wrapper)"
case.