binutils-gdb.git
22 years agoAdd Swedish translation
Nick Clifton [Tue, 15 Jan 2002 13:58:25 +0000 (13:58 +0000)]
Add Swedish translation

22 years agoSpecial case handlign for m32r port
Nick Clifton [Tue, 15 Jan 2002 12:56:32 +0000 (12:56 +0000)]
Special case handlign for m32r port

22 years ago * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
Jakub Jelinek [Tue, 15 Jan 2002 12:52:15 +0000 (12:52 +0000)]
* elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
* elf.c (merge_sections_remove_hook): New function.
(_bfd_elf_merge_sections): Pass it as 3rd argument to
_bfd_merge_sections.
* libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
* libbfd.h: Rebuilt.
* merge.c (_bfd_merge_sections): Add remove_hook argument.
Call remove_hook if a SEC_EXCLUDE section is encountered.

22 years agoAdd missing 'cp' command
Nick Clifton [Tue, 15 Jan 2002 12:41:00 +0000 (12:41 +0000)]
Add missing 'cp' command

22 years agoFix expected results of disassembly of DSP instructions
Nick Clifton [Tue, 15 Jan 2002 12:27:53 +0000 (12:27 +0000)]
Fix expected results of disassembly of DSP instructions

22 years agoFix up generation of VTINHERIT relocs
Nick Clifton [Tue, 15 Jan 2002 11:58:45 +0000 (11:58 +0000)]
Fix up generation of VTINHERIT relocs

22 years ago* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
Andrew Cagney [Tue, 15 Jan 2002 02:06:47 +0000 (02:06 +0000)]
* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
CLEAN_UP_REGISTER_VALUE.
* regcache.c (supply_register): Update only call.

22 years agoMark all 29k targets as obsolete (second attempt to commit this).
Andrew Cagney [Tue, 15 Jan 2002 01:52:37 +0000 (01:52 +0000)]
Mark all 29k targets as obsolete (second attempt to commit this).

22 years ago* gdb.texinfo (Embedded Processors, Calling program functions):
Andrew Cagney [Tue, 15 Jan 2002 01:38:45 +0000 (01:38 +0000)]
* gdb.texinfo (Embedded Processors, Calling program functions):
Obsolete references to a29k.

22 years agoReview cleanups() section. Add examples.
Andrew Cagney [Tue, 15 Jan 2002 01:29:24 +0000 (01:29 +0000)]
Review cleanups() section.  Add examples.

22 years ago*** empty log message ***
gdbadmin [Tue, 15 Jan 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 14 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 14 Jan 2002 20:00:48 +0000 (20:00 +0000)]
2002-01-14  Michael Snyder  <msnyder@redhat.com>

* linux-proc.c (linux_do_thread_registers): Ignore fpxregs
until we can resolve portability issues.
* gregset.h: Remove references to fpxregs.
* gcore.c (gcore_command): Initialize note_sec to NULL.

22 years ago* MAINTAINERS: Add self as co-maintainer for the ARM code.
Richard Earnshaw [Mon, 14 Jan 2002 17:49:29 +0000 (17:49 +0000)]
* MAINTAINERS: Add self as co-maintainer for the ARM code.

22 years agoUse section2.e-mips script for v850-elf toolchain.
Nick Clifton [Mon, 14 Jan 2002 17:40:49 +0000 (17:40 +0000)]
Use section2.e-mips script for v850-elf toolchain.

22 years ago* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d
Richard Earnshaw [Mon, 14 Jan 2002 17:39:02 +0000 (17:39 +0000)]
* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.d
arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s,
arm/fpa-dyadic.d: New tests.
* gas/arm/le-fpconst.d (objdump): pass --section=.text
* gas/arm/arm.exp: Add new tests.  Run le-fpconst test on elf targets.

22 years ago* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
Richard Earnshaw [Mon, 14 Jan 2002 17:37:23 +0000 (17:37 +0000)]
* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
the -EL/-EB option that matches the target's endianness.
(md_parse_option): Likewise.

22 years agoExpect xscale-coff to fail simple objcopy test for the same reason as arm-coff.
Nick Clifton [Mon, 14 Jan 2002 17:26:13 +0000 (17:26 +0000)]
Expect xscale-coff to fail simple objcopy test for the same reason as arm-coff.

22 years agoFor ARM targets, link with libgcc.a.
Nick Clifton [Mon, 14 Jan 2002 15:46:50 +0000 (15:46 +0000)]
For ARM targets, link with libgcc.a.

22 years ago* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
Richard Earnshaw [Mon, 14 Jan 2002 15:36:30 +0000 (15:36 +0000)]
* tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
is not dependent on ARM_BI_ENDIAN.

22 years ago* tc-arm.c (all error messages): Normalize capitalization of messages.
Richard Earnshaw [Mon, 14 Jan 2002 15:01:04 +0000 (15:01 +0000)]
* tc-arm.c (all error messages): Normalize capitalization of messages.

* tc-arm.h (md_operand): Delete define.
* tc-arm.c (in_my_get_expression): New static variable.
(my_get_expression): Set and clear it.
(md_operand): New function.  If called from my_get_expression
put the error in inst.error.
(output_inst): Now takes argument of instruction being assembled.
Print it out with any error message.
(do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
with '=' syntax.
(end_of_line): Don't update inst.error if it is already set.

22 years ago* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.
Richard Earnshaw [Mon, 14 Jan 2002 15:00:18 +0000 (15:00 +0000)]
* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.
* gas/arm/arm.exp (run_error_test): New proc.
(armv1-bad): New error test.

22 years agoAdd Spanish Translation
Nick Clifton [Mon, 14 Jan 2002 13:10:20 +0000 (13:10 +0000)]
Add Spanish Translation

22 years ago2002-01-14 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 14 Jan 2002 02:47:59 +0000 (02:47 +0000)]
2002-01-14  Ben Elliston  <bje@redhat.com>

* sim-fpu.h: Fix comment about sim_fpu_* constants.

22 years ago*** empty log message ***
gdbadmin [Mon, 14 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-01-13 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 13 Jan 2002 23:54:10 +0000 (23:54 +0000)]
2002-01-13  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
        for slightly dubious v2 mangled string.

22 years agodaily update
Alan Modra [Sun, 13 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-13 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 13 Jan 2002 22:13:06 +0000 (22:13 +0000)]
2002-01-13  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.

22 years agoRewrite target_signal_to_name().
Andrew Cagney [Sun, 13 Jan 2002 21:58:16 +0000 (21:58 +0000)]
Rewrite target_signal_to_name().

22 years agoFrom Petr Ledvina <ledvinap@kae.zcu.cz>:
Andrew Cagney [Sun, 13 Jan 2002 21:11:38 +0000 (21:11 +0000)]
From Petr Ledvina <ledvinap@kae.zcu.cz>:
* signals.c (target_signal_to_name): Verify that SIG is within the
bounds of the signals array.

22 years ago* MAINTAINERS: Remove arm-coff and arm-pe from target list.
Andrew Cagney [Sun, 13 Jan 2002 20:43:46 +0000 (20:43 +0000)]
* MAINTAINERS: Remove arm-coff and arm-pe from target list.

22 years ago * stack.c (print_frame_info_base): Print the frame's pc
Keith Seitz [Sun, 13 Jan 2002 20:19:28 +0000 (20:19 +0000)]
* stack.c (print_frame_info_base): Print the frame's pc
only if when print_frame_info_listing_hook is not defined.

22 years ago * varobj.c (varobj_set_value): Make sure that there were no
Keith Seitz [Sun, 13 Jan 2002 20:17:55 +0000 (20:17 +0000)]
    * varobj.c (varobj_set_value): Make sure that there were no
        errors evaluating the object before attempting to set its
        value.
        value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
        so this offset adjustment is no longer necessary.
        (create_child): Don't set the error flag if the child is
        a CPLUS_FAKE_CHILD.
        (value_of_child): If value_fetch_lazy fails, return NULL
        so that callers will be notified that an error occurred.
        (c_value_of_variable): Delay check of variable's validity
        until later. We actually want all structs and unions to have
        the value "{...}".
        Do not return "???" for variables which could not be evaluated.
        This error condition must be returned to the caller so that it
        can get the error condition from gdb.
        (cplus_name_of_child): Adjust index for vptr before figuring
        out the name of the child.
        (cplus_value_of_child): If a child's (real) parent is not valid,
        don't even bother trying to give a value for it. Just return
        an error. Change all instances in this function.
        (cplus_type_of_child): If our parent is one of the "fake"
        parents, we need to get at the type of the real parent, and
        derive the child's true type using this information.

22 years agoFrom 2002-01-09 John Marshall <johnm@falch.net>:
Andrew Cagney [Sun, 13 Jan 2002 16:16:58 +0000 (16:16 +0000)]
From 2002-01-09 John Marshall <johnm@falch.net>:
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
sources.redhat.com, and tweak some related URLs which had
suffered from linkrot.

22 years ago* hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
Andrew Cagney [Sun, 13 Jan 2002 15:48:56 +0000 (15:48 +0000)]
* hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
structures passed in registers.

22 years ago * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
Eli Zaretskii [Sun, 13 Jan 2002 09:51:22 +0000 (09:51 +0000)]
* go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
white space which prevented compilation.  Reported by DSK
<dsk@student.unsw.edu.au>.

22 years ago2002-01-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sun, 13 Jan 2002 05:59:30 +0000 (05:59 +0000)]
2002-01-11  Michael Snyder  <msnyder@redhat.com>

        * symfile.c (build_section_addr_info_from_section_tab):
        Use bfd access method instead of manipulating bfd directly.
        (syms_from_objfile): Ditto.
        (simple_overlay_update_1): Ditto.
        (simple_overlay_update): Ditto.
        (generic_load): Ditto.
        (overlay_unmapped_address): FIXME comment, bfd access methods.
        (sections_overlap): FIXME comment, bfd access methods.
        (pc_in_mapped_range): FIXME comment, bfd access methods.
        (pc_in_unmapped_range): FIXME comment, bfd access methods.
        (section_is_mapped): FIXME comment, bfd access methods.
        (section_is_overlay): FIXME comment, bfd access methods.

22 years ago*** empty log message ***
gdbadmin [Sun, 13 Jan 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-01-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 12 Jan 2002 23:44:26 +0000 (23:44 +0000)]
2002-01-11  Michael Snyder  <msnyder@redhat.com>

        * symfile.c (generic_load): Whitespace and long line cleanups.
        Remove duplicate variable, change several local variables to
        more appropriate data types.
        (print_transfer_performance): Use %lu instead of %ld for ulongs.

22 years agodaily update
Alan Modra [Sat, 12 Jan 2002 23:00:09 +0000 (23:00 +0000)]
daily update

22 years ago * emulparams/avr1200.sh (DATA_START): Define as 0x60.
Denis Chertykov [Sat, 12 Jan 2002 20:22:19 +0000 (20:22 +0000)]
* emulparams/avr1200.sh (DATA_START): Define as 0x60.
* emulparams/avr23xx.sh: Likewise.
* emulparams/avr4433.sh: Likewise.
* emulparams/avr44x4.sh: Likewise.
* emulparams/avr85xx.sh: Likewise.
* emulparams/avrmega103.sh: Likewise.
* emulparams/avrmega161.sh: Likewise.
* emulparams/avrmega603.sh: Likewise.
* scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.

22 years agoUse phex_nz() not printf
Andrew Cagney [Sat, 12 Jan 2002 20:00:07 +0000 (20:00 +0000)]
Use phex_nz() not printf

22 years agoUpdate Copyright year.
Elena Zannoni [Sat, 12 Jan 2002 16:38:47 +0000 (16:38 +0000)]
Update Copyright year.

22 years ago2002-01-12 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sat, 12 Jan 2002 16:29:44 +0000 (16:29 +0000)]
2002-01-12  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
the function.

22 years ago* Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
Matthew Green [Sat, 12 Jan 2002 10:21:12 +0000 (10:21 +0000)]
* Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
* igen.c (main): Change -I to add include paths for :include:
files.
Implement -G as per sim/igen, with just gen-icache=N support.
Call load_insn_table() with the built include path.

* ld-insn.c (parse_include_entry): New. Load an :include: file.
(load_insn_table): New `includes' argument.  Look for :include:
entries and call parse_include_entry() for them.
(main): Adjust load_insn_table() call.
* ld-insn.h (model_include_fields): New enum.
(load_insn_table): Update prototype.
* table.c (struct _open_table, struct _table): Rework
structures to handle included files.
(table_push): Move the guts of table_open() here.

* table.c (struct _open table, struct table): Make table object an
indirect ptr to the current table file.
(current_line, new_table_entry, next_line): Make file arg type
open_table.
(table_open): Use table_push.
(table_entry_read): Point variable file at current table, at eof, pop
last open table.

* misc.h (NZALLOC): New macro. From sim/igen.

* table.h, table.c (table_push): New function.

22 years ago* language.c (longest_raw_hex_string): Delete unused function.
Andrew Cagney [Sat, 12 Jan 2002 05:19:10 +0000 (05:19 +0000)]
* language.c (longest_raw_hex_string): Delete unused function.

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

22 years agodaily update
Alan Modra [Fri, 11 Jan 2002 23:00:15 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 11 Jan 2002 20:24:14 +0000 (20:24 +0000)]
2002-01-11  Michael Snyder  <msnyder@redhat.com>

        * gdb.texinfo (Choosing files): Change @samp to @file.

22 years ago* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
Richard Earnshaw [Fri, 11 Jan 2002 18:00:17 +0000 (18:00 +0000)]
* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.

* gas/arm/ldconst.s gas/arm/ldconst.d: New files.  Test ldr with
immediate pseudo-operations.
* gas/arm/arm.exp: Run it.

22 years ago1) Handling of the DW_AT_byte_size attribute when processing a
Petr Sorfa [Fri, 11 Jan 2002 16:56:04 +0000 (16:56 +0000)]
1) Handling of the DW_AT_byte_size attribute when processing a
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0
standard.)
2) In read_tag_string_type(), a fix for FORTRAN that propagates the
first string length to all string types. This is important as FORTRAN
strings are not delimited as in C/C++.
3) Handling of the DW_LANG_Fortran95.

22 years agoAdded Self to Write After Approval
Petr Sorfa [Fri, 11 Jan 2002 16:51:03 +0000 (16:51 +0000)]
Added Self to Write After Approval

22 years ago* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
Richard Earnshaw [Fri, 11 Jan 2002 10:46:15 +0000 (10:46 +0000)]
* armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
GETPID(inferior_ptid).
(store_inferior_registers): Likewise.

22 years ago * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
Jason Merrill [Fri, 11 Jan 2002 09:32:50 +0000 (09:32 +0000)]
    * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
        Fix DW_OP_minus.

22 years agoAdd ia64-hpux target. LD and GDB are not currently supported.
Nick Clifton [Fri, 11 Jan 2002 09:29:18 +0000 (09:29 +0000)]
Add ia64-hpux target.  LD and GDB are not currently supported.

22 years agoAdd support for ia64-hpux target.
Nick Clifton [Fri, 11 Jan 2002 09:27:39 +0000 (09:27 +0000)]
Add support for ia64-hpux target.

22 years ago[cgen/ChangeLog]
Matthew Green [Fri, 11 Jan 2002 07:24:59 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.

(holdx): New instruction.

[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 11 Jan 2002 01:46:17 +0000 (01:46 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* NEWS: Mention --pid and corefile/proc-id behavior change.

22 years ago* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
Andrew Cagney [Fri, 11 Jan 2002 01:13:26 +0000 (01:13 +0000)]
* config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
and bfd/elf32-sh-nbsd.c.

22 years ago*** empty log message ***
gdbadmin [Fri, 11 Jan 2002 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 23:32:25 +0000 (23:32 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* Makefile.in: Add rules for gcore.o and linux-proc.o.
* gcore.c: Include cli/cli-decode.h instead of command.h.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 23:05:21 +0000 (23:05 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* elf.c (elfcore_write_prstatus): Use long instead of pid_t;
(elfcore_write_pstatus): Use long instead of pid_t;
* elf-bfd.h: Change prototypes to use long instead of pid_t;

22 years ago2002-01-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 23:03:35 +0000 (23:03 +0000)]
2002-01-05  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (--pid): Document new command line option (attach).

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 23:03:08 +0000 (23:03 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

* main.c (captured_main): Add new command line option "--pid".
If the second command line argument (following the symbol-file)
begins with a digit, try to attach to it before trying to open
it as a corefile.
(print_gdb_help): Document the "--pid" argument.

22 years agodaily update
Alan Modra [Thu, 10 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * gdb.c++/namespace.exp: Accept trailing const for 'this'.
Jason Merrill [Thu, 10 Jan 2002 20:46:16 +0000 (20:46 +0000)]
    * gdb.c++/namespace.exp: Accept trailing const for 'this'.

        * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
        constructors.
        * gdb.c++/derivation.exp: Likewise.
        * gdb.c++/templates.exp: Likewise.
        * gdb.c++/virtfunc.exp: Likewise.

22 years ago2002-01-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jan 2002 18:27:09 +0000 (18:27 +0000)]
2002-01-10  Michael Snyder  <msnyder@redhat.com>

        * gdb.c++/namespace.exp: Accept both '\0' and '\000'.

22 years agoupdate copyright
Jason Merrill [Thu, 10 Jan 2002 17:48:03 +0000 (17:48 +0000)]
update copyright

22 years ago * gdb.c++/namespace.exp: '\0', not '\000'.
Jason Merrill [Thu, 10 Jan 2002 13:21:58 +0000 (13:21 +0000)]
    * gdb.c++/namespace.exp: '\0', not '\000'.

22 years ago* tc-arm.c (struct reg_entry): Move before prototypes.
Richard Earnshaw [Thu, 10 Jan 2002 11:47:35 +0000 (11:47 +0000)]
* tc-arm.c (struct reg_entry): Move before prototypes.
(int_register, cp_register, fp_register): Delete.
(reg_table): Delete.  Replaced with ...
(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
(mav_dspsc_table): ... one table per register set.
(arm_reg_hsh): Delete.
(struct reg_map): New structure.
(all_reg_maps): New array.
(enum arm_reg_type): New enums.
(build_reg_hsh): New function.
(insert_reg_alias): Use hash table passed by caller.  Adjust all
callers.
(create_register_alias): New function, split out from ...
(md_assemble): ... here.
(md_begin): Build new register hash tables.
(arm_reg_parse): New argument for the hash table to search.  Adjust all
callers.
(arm_reg_parse_any): New function.
(co_proc_number): Look up the processor number in the processor hash
table.
(cirrus_regtype): Delete.
(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
(ARM_EXT_MAVERICKsc_register): Delete.
(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
functions.
(do_c_triple_4, do_c_triple_5): Delete.
(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
(do_c_quad_6): Delete.
(do_c_quad_6[ab]): New functions.
(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
arguments to use new register parsing methods.
(cirrus_reg_required_here): Likewise.
(insns): Reclassify cirrus maverick worker functions.
(cirrus_valid_reg): Delete.

22 years agoAdd myself as ARM sim maintainer
Nick Clifton [Thu, 10 Jan 2002 11:15:35 +0000 (11:15 +0000)]
Add myself as ARM sim maintainer

22 years agoFix parameters passed to CPRead[13] and CPRead[14].
Nick Clifton [Thu, 10 Jan 2002 11:14:57 +0000 (11:14 +0000)]
Fix parameters passed to CPRead[13] and CPRead[14].

22 years ago * completer.c (command_completer): New function.
Eli Zaretskii [Thu, 10 Jan 2002 08:15:58 +0000 (08:15 +0000)]
* completer.c (command_completer): New function.

* completer.h <command_completer>: Add prototype.

* cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
completer for the "help" command.

22 years ago * c-typeprint.c (is_type_conversion_operator): Fix thinko.
Jason Merrill [Thu, 10 Jan 2002 00:06:02 +0000 (00:06 +0000)]
    * c-typeprint.c (is_type_conversion_operator): Fix thinko.

22 years ago*** empty log message ***
gdbadmin [Thu, 10 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 9 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 22:32:16 +0000 (22:32 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* i386-linux-nat.c (fill_fpxregset): Make global.
(store_fpxregset): Ditto.

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 20:48:43 +0000 (20:48 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* gregset.h (gdb_fpxregset_t): Define.
(supply_fpxregset): Prototype.
(fill_fpxregset): Prototype.

22 years agoinclude/elf:
Jason Thorpe [Wed, 9 Jan 2002 18:59:11 +0000 (18:59 +0000)]
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.

bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH.  Improve a comment.

bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.

22 years ago2002-01-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 18:49:22 +0000 (18:49 +0000)]
2002-01-09  Michael Snyder  <msnyder@redhat.com>

* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.

22 years ago* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
Richard Earnshaw [Wed, 9 Jan 2002 18:39:37 +0000 (18:39 +0000)]
* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
* config/arm/tm-nbsd.h (get_longjmp_target): Likewise.

22 years agoUpdate target section.
Andrew Cagney [Wed, 9 Jan 2002 18:33:21 +0000 (18:33 +0000)]
Update target section.

22 years agoFix formatting of ChangeLog entry in previous commit.
Richard Earnshaw [Wed, 9 Jan 2002 18:27:53 +0000 (18:27 +0000)]
Fix formatting of ChangeLog entry in previous commit.

22 years agoMAINTAINERS (write-after-approval): Add myself.
Richard Earnshaw [Wed, 9 Jan 2002 18:07:48 +0000 (18:07 +0000)]
MAINTAINERS (write-after-approval): Add myself.

arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
IN_SIGTRAMP.

22 years ago* readelf.c: Update copyright years.
Jason Thorpe [Wed, 9 Jan 2002 18:05:49 +0000 (18:05 +0000)]
* readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.

22 years ago* gas/arm/float.s: Don't use VFP register names in fpa instructions.
Richard Earnshaw [Wed, 9 Jan 2002 16:59:06 +0000 (16:59 +0000)]
* gas/arm/float.s: Don't use VFP register names in fpa instructions.

22 years agoGeneral format tidy ups
Nick Clifton [Wed, 9 Jan 2002 15:08:21 +0000 (15:08 +0000)]
General format tidy ups

22 years agoFix bug detected by GDB testsuite - when fetching registers more than 4
Nick Clifton [Wed, 9 Jan 2002 14:59:22 +0000 (14:59 +0000)]
Fix bug detected by GDB testsuite - when fetching registers more than 4
bytes wide return 0 for the other bytes.

22 years ago2002-01-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 9 Jan 2002 07:30:36 +0000 (07:30 +0000)]
2002-01-08  H.J. Lu <hjl@gnu.org>

* gas/mips/elf-rel.s: New tests for nested ().

* gas/mips/elf-rel.d: Modified for nested () tests.
* gas/mips/elfel-rel.d: Likewise.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 02:21:25 +0000 (02:21 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

* linux-proc.c (child_pid_to_exec_file): Use readlink to get the
real name of the executable, rather than the /proc name.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 00:37:41 +0000 (00:37 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: New test for generate-core-file command.
* gdb.base/gcore.c: Testcase for above.
* gdb.threads/gcore-thread.exp: New test for gcore (threaded).

22 years ago2002-01-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 9 Jan 2002 00:37:02 +0000 (00:37 +0000)]
2002-01-03  Michael Snyder  <msnyder@redhat.com>

Implement a "generate-core-file" command in gdb, save target state.
* gcore.c: New file.  Implement new command 'generate-core-file'.
Save a corefile image of the current state of the inferior.
* linux-proc.c: Add linux-specific code for saving corefiles.
* target.h (struct target_ops): Add new target vectors for saving
corefiles; to_find_memory_regions and to_make_corefile_notes.
(target_find_memory_regions): New macro.
(target_make_corefile_notes): New macro.
* target.c (update_current_target): Inherit new target methods.
(dummy_find_memory_regions): New place-holder method.
(dummy_make_corefile_notes): New place-holder method.
(init_dummy_target): Initialize new dummy target vectors.
* exec.c (exec_set_find_memory_regions): New function.
Allow the exec_ops vector for memory regions to be taken over.
(exec_make_note_section): New function, target vector method.
* defs.h (exec_set_find_memory_regions): Export prototype.
* procfs.c (proc_find_memory_regions): New function, corefile method.
(procfs_make_note_section): New function, corefile method.
(init_procfs_ops): Set new target vector pointers.
(find_memory_regions_callback): New function.
(procfs_do_thread_registers): New function.
(procfs_corefile_thread_callback): New function.
* sol-thread.c (sol_find_memory_regions): New function.
(sol_make_note_section): New function.
(init_sol_thread_ops): Initialize new target vectors.
* inftarg.c (inftarg_set_find_memory_regions): New function.
Allow to_find_memory_regions vector to be taken over.
(inftarg_set_make_corefile_notes): New function.
Allow to_make_corefile_notes vector to be taken over.
* thread-db.c (thread_db_new_objfile): Don't activate thread-db
interface layer if not target_has_execution (may be a corefile).
* config/i386/linux.mh: Add gcore.o to NATDEPFILES.
* config/sparc/sun4sol2.mh: Ditto.
* config/alpha/alpha-linux.mh: Ditto.
* config/arm/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.

22 years ago*** empty log message ***
gdbadmin [Wed, 9 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 8 Jan 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 8 Jan 2002 22:14:15 +0000 (22:14 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

        * arm-linux-nat.c: Remove references to regcache.c internal data
(registers[] and register_valid[]).

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 8 Jan 2002 22:09:50 +0000 (22:09 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* linux-proc.c: New file.  Implement child_pid_to_exec_file,
so that attaching to a pid will automatically read the process's
symbol file and shlibs.
* Makefile.in: Add rule for linux-proc.o.
* config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
* config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
* config/arm/linux.mh: Ditto.
* config/i386/linux.mh: Ditto.
* config/i386/x86-64linux.mh: Ditto.
* config/ia64/linux.mh: Ditto.
* config/m68k/linux.mh: Ditto.
* config/mips/linux.mh: Ditto.
* config/powerpc/linux.mh: Ditto.
* config/sparc/linux.mh: Ditto.

22 years agoFix typo.
Michael Snyder [Tue, 8 Jan 2002 21:33:23 +0000 (21:33 +0000)]
Fix typo.

22 years ago2002-01-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 8 Jan 2002 21:31:36 +0000 (21:31 +0000)]
2002-01-08  Michael Snyder  <msnyder@redhat.com>

Add capability to write corefile note sections, for gdb.
* elf.c (elfcore_write_note): New function.
(elfcore_write_prpsinfo): New function.
(elfcore_write_prstatus): New function.
(elfcore_write_pstatus): New function.
(elfcore_write_prfpreg): New function.
(elfcore_write_prxfpreg): New function.
* elf-bfd.h: Add prototypes for above functions.

22 years ago2002-01-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 8 Jan 2002 18:55:26 +0000 (18:55 +0000)]
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
instead of bfd_get_arch_size.  Don't bail out just because
there's no exec_bfd.

22 years ago* elf.c (elf_fake_sections): Propagate errors from
Alexandre Oliva [Tue, 8 Jan 2002 16:42:57 +0000 (16:42 +0000)]
* elf.c (elf_fake_sections): Propagate errors from
elf_backend_fake_section.