platform/upstream/binutils.git
22 years ago2002-03-25 Jeff Law (law@redhat.com)
Michael Snyder [Mon, 25 Mar 2002 19:47:41 +0000 (19:47 +0000)]
2002-03-25  Jeff Law (law@redhat.com)

* linux-proc.c (read_mapping): Scan up to end of line for filename.

22 years ago * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
Michal Ludvig [Mon, 25 Mar 2002 07:59:16 +0000 (07:59 +0000)]
* x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.

22 years ago2002-03-24 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Mon, 25 Mar 2002 04:39:20 +0000 (04:39 +0000)]
2002-03-24  David O'Brien  <obrien@FreeBSD.org>
* ppc/hw_disk.c: Export a disk device property.

This is needed by the FreeBSD/powerpc porting effort.

22 years ago*** empty log message ***
gdbadmin [Mon, 25 Mar 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago* gen.c (format_name_cmp): New function.
Andrew Cagney [Sun, 24 Mar 2002 00:43:28 +0000 (00:43 +0000)]
* gen.c (format_name_cmp): New function.
(insn_list_insert): Use the instruction field name as an
additional key.  Different field names indicate different
semantics.

22 years ago* command.h: Update copyright.
Andrew Cagney [Sun, 24 Mar 2002 00:40:35 +0000 (00:40 +0000)]
* command.h: Update copyright.
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.

22 years ago* cli/cli-decode.c: Include "gdb_assert.h".
Andrew Cagney [Sun, 24 Mar 2002 00:24:35 +0000 (00:24 +0000)]
* cli/cli-decode.c: Include "gdb_assert.h".
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
all fields, such as func, from the set command.

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

22 years agodaily update
Alan Modra [Sat, 23 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years agoFrom 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
Andrew Cagney [Sat, 23 Mar 2002 21:18:31 +0000 (21:18 +0000)]
From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
* ppc-instructions (lswx): Do the register control with the
register count.  Initialize the right register in the loop.
(mtfsfi) : Correct prefix for the instruction.

22 years ago* MAINTAINERS (sh-elf): Change warning flag to -w.
Andrew Cagney [Sat, 23 Mar 2002 18:52:46 +0000 (18:52 +0000)]
* MAINTAINERS (sh-elf): Change warning flag to -w.

22 years ago * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
Andreas Jaeger [Sat, 23 Mar 2002 18:15:32 +0000 (18:15 +0000)]
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.

22 years ago* defs.h (error): Add printf format attribute.
Andrew Cagney [Sat, 23 Mar 2002 17:38:13 +0000 (17:38 +0000)]
* defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.

22 years ago* ppc-opc.c (vmaddfp): Fix operand order.
Matthew Green [Sat, 23 Mar 2002 14:14:30 +0000 (14:14 +0000)]
* ppc-opc.c (vmaddfp): Fix operand order.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
Alan Modra [Sat, 23 Mar 2002 13:14:33 +0000 (13:14 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
section file offset for !SEC_LOAD sections.

22 years ago* gdbtypes.c (append_composite_type_field): New function.
Andrew Cagney [Sat, 23 Mar 2002 01:24:54 +0000 (01:24 +0000)]
* gdbtypes.c (append_composite_type_field): New function.
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.

22 years ago2002-03-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 23 Mar 2002 00:05:29 +0000 (00:05 +0000)]
2002-03-22  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add test for gcore.  Update copyright.
* gdb.base/help.exp: Add test for gcore.  Update copyright.

22 years ago2002-03-22 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 23 Mar 2002 00:03:01 +0000 (00:03 +0000)]
2002-03-22  Michael Snyder  <msnyder@redhat.com>

* gdb.base/default.exp: Add test for gcore.
* gdb.base/help.exp: Add test for gcore.

22 years ago*** empty log message ***
gdbadmin [Sat, 23 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago2002-03-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 22 Mar 2002 21:58:16 +0000 (21:58 +0000)]
2002-03-22  Elena Zannoni  <ezannoni@redhat.com>

        * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
        function.
* ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
        * rs6000-tdep.c (rs6000_gdbarch_init): Use different
        structure returning convention for SYSV ABI case, but not
        for GNU/Linux, FreeBSD, or NetBSD.

22 years ago2002-03-22 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 22 Mar 2002 18:57:08 +0000 (18:57 +0000)]
2002-03-22  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.h (lookup_block_symbol): Add mangled_name argument
        to prototype.

        * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
        with new mangled_name argument.
        * linespec.c (decode_line_1): Likewise.
        * valops (value_of_this): Likewise.
        * symtab.c (lookup_transparent_type): Likewise.
        (lookup_symbol_aux): Likewise.  Accept new mangled_name argument.
        (lookup_symbol): If we are given a mangled name, pass it down
        to lookup_symbol_aux.
        (lookup_block_symbol): If we are given a mangled name to check
        against, only return symbols which match it.

22 years ago* win32-nat.c (child_create_inferior): Check for proper shell to use here, in
Christopher Faylor [Fri, 22 Mar 2002 05:03:22 +0000 (05:03 +0000)]
* win32-nat.c (child_create_inferior): Check for proper shell to use here, in
case the user changes it on the fly.
(_initialize_inftarg): Remove shell path considerations.

22 years ago * config/te-aix5.h: Typo fix.
Alan Modra [Fri, 22 Mar 2002 02:07:36 +0000 (02:07 +0000)]
* config/te-aix5.h: Typo fix.

22 years ago2002-03-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 22 Mar 2002 00:19:02 +0000 (00:19 +0000)]
2002-03-21  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
for gdbarch_max_register_raw_size and max_register_virtual_size.
Adjust copyright year.

22 years ago*** empty log message ***
gdbadmin [Fri, 22 Mar 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 21 Mar 2002 23:01:32 +0000 (23:01 +0000)]
daily update

22 years ago2002-03-21 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 21 Mar 2002 19:48:54 +0000 (19:48 +0000)]
2002-03-21  Daniel Jacobowitz  <drow@mvista.com>

         * dbxread.c (process_one_symbol): Extend the first N_SLINE
         in a function to cover the entire beginning of the function
         as well if it does not already.

22 years ago* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
Richard Earnshaw [Thu, 21 Mar 2002 15:26:03 +0000 (15:26 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
(case R_ARM_GOT): Handle relocations to Thumb functions.

22 years agoRename ptrace32 and ptrace64 to fix build problem with Aix 5.1
Tom Rix [Thu, 21 Mar 2002 13:52:57 +0000 (13:52 +0000)]
Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:53:45 +0000 (09:53 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:52:14 +0000 (09:52 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:42:38 +0000 (09:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:40:17 +0000 (09:40 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:23:41 +0000 (09:23 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Alan Modra [Thu, 21 Mar 2002 09:15:18 +0000 (09:15 +0000)]
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Whitespace changes.
* archive.c: Update copyright date.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years agoFix typo
Nick Clifton [Thu, 21 Mar 2002 09:13:34 +0000 (09:13 +0000)]
Fix typo

22 years ago * ppc-opc.c: Add optional field to mtmsrd.
Alan Modra [Thu, 21 Mar 2002 09:01:49 +0000 (09:01 +0000)]
* ppc-opc.c: Add optional field to mtmsrd.
(MTMSRD_L, XRLARB_MASK): Define.

22 years ago * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
Alan Modra [Thu, 21 Mar 2002 05:35:39 +0000 (05:35 +0000)]
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.

22 years ago2002-03-20 Daniel Berlin <dan@dberlin.org>
Daniel Berlin [Thu, 21 Mar 2002 05:00:58 +0000 (05:00 +0000)]
2002-03-20  Daniel Berlin  <dan@dberlin.org>

* readelf.c: Add support for displaying dwarf2 location lists.
(do_debug_loc, debug_loc_section, debug_loc_size): New.
(parse_args): Use 'O' as shorthand for displaying location list
section.
(process_section_headers): Handle debug_loc as well.
(load_debug_loc): New.
(free_debug_loc): New.
(fetch_location_list): New.
(display_debug_loc): New.
(display_debug_info): Call load_debug_loc and free_debug_loc.
(debug_displays): We can display .debug_loc now, too.
(usage): Update usage string.
(read_and_display_attr_value): Note location lists, but don't
display them inline.

22 years ago2002-03-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 21 Mar 2002 02:13:05 +0000 (02:13 +0000)]
2002-03-20  Martin M. Hunt  <hunt@redhat.com>

* regcache.c (_initialize_regcache): No need to call
build_regcache() at this time; it gets called whenever
the gdbarch changes.

22 years ago2002-03-20 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 21 Mar 2002 02:11:03 +0000 (02:11 +0000)]
2002-03-20  Martin M. Hunt  <hunt@redhat.com>

* gdbserver/remote-utils.c (remote_open): Don't call
getprotobyname, we're all using TCP here so just use
IPPROTO_TCP.
* gdbserver/gdbreplay.c (remote_open): Ditto.

22 years ago2002-03-20 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Thu, 21 Mar 2002 02:03:13 +0000 (02:03 +0000)]
2002-03-20  David O'Brien  <obrien@FreeBSD.org>
* sparc-nat.c:  Include sys/param.h where possible.

Approved by:  Michael Snyder <msnyder@redhat.com>
              Message-ID: <3C98FF43.46ABDC1C@redhat.com>

22 years ago2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 21 Mar 2002 00:53:44 +0000 (00:53 +0000)]
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/422.
        * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
        FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
        * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
        complex types.
        * stabsread.c (rs6000_builtin_type): Likewise.
        (read_sun_floating_type): Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 21 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 20 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)]
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2.c (struct funcinfo): Move up.
        (lookup_address_in_function_table): New argument function_ptr.
        Set it.
        (lookup_address_in_line_table): New argument function.  If function
        is non-NULL, use it to handle ``addr'' before the first line note of
        the function.
        (comp_unit_find_nearest_line): Update and swap calls to
        lookup_address_in_function_table and lookup_address_in_line_table.
        * syms.c (_bfd_stab_section_find_nearest_line): Use the first
        N_SLINE encountered if we see an N_FUN before any N_SLINE.

22 years agoFix extracting from AIX big archives.
Tom Rix [Wed, 20 Mar 2002 16:49:10 +0000 (16:49 +0000)]
Fix extracting from AIX big archives.

22 years agoFix problem with linking shared libstdc++-v3 on AIX.
Tom Rix [Wed, 20 Mar 2002 12:03:27 +0000 (12:03 +0000)]
Fix problem with linking shared libstdc++-v3 on AIX.

22 years ago * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
Alan Modra [Wed, 20 Mar 2002 07:49:53 +0000 (07:49 +0000)]
* ldlang.c (ldlang_add_undef): If the output bfd has been opened,
add the symbol to the linker hash table immediately.
(lang_place_undefineds): Split symbol creation out..
(insert_undefined): ..to here.

22 years ago2002-03-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 07:24:20 +0000 (07:24 +0000)]
2002-03-19  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c (FP_S_s, FP_D_s, FP_S_be, FP_D_be, FP_S_e, FP_D_e, FP_S_f)
        (FP_D_f, FP_S_fb, FP_D_fb, FPINF_SINGLE, FPINF_DOUBLE): Remove
        unused definitions.

22 years ago2002-03-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 07:10:37 +0000 (07:10 +0000)]
2002-03-19  Chris Demetriou  <cgd@broadcom.com>

        * cp1.c: Fix many formatting issues.

22 years ago2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 06:42:05 +0000 (06:42 +0000)]
2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>

        * cp1.c (fpu_format_name): New function to replace...
        (DOFMT): This.  Delete, and update all callers.
        (fpu_rounding_mode_name): New function to replace...
        (RMMODE): This.  Delete, and update all callers.

22 years ago2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 20 Mar 2002 01:35:13 +0000 (01:35 +0000)]
2002-03-19  Chris G. Demetriou  <cgd@broadcom.com>

        * interp.c: Move FPU support routines from here to...
        * cp1.c: Here.  New file.
        * Makefile.in (SIM_OBJS): Add cp1.o to object list.
        (cp1.o): New target.

22 years ago*** empty log message ***
gdbadmin [Wed, 20 Mar 2002 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * ld-cris/ldsym1.d: New test.
Hans-Peter Nilsson [Tue, 19 Mar 2002 23:49:51 +0000 (23:49 +0000)]
* ld-cris/ldsym1.d: New test.

22 years agodaily update
Alan Modra [Tue, 19 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
Hans-Peter Nilsson [Tue, 19 Mar 2002 22:48:15 +0000 (22:48 +0000)]
* ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
longer set to object.
* ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.

22 years ago2002-03-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 19 Mar 2002 21:03:43 +0000 (21:03 +0000)]
2002-03-18  David O'Brien  <obrien@FreeBSD.org>
* emultempl/elf32.em: Use lbasename vs. basename to fix problem where
the contents of the buffer returned from basename function will are
getting overwritten while still being used.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020318032031.GD1089@bubble.sa.bigpond.net.au>

22 years ago * stabsread.c (read_member_functions): Remove skip code for duplicate
Peter Schauer [Tue, 19 Mar 2002 20:27:04 +0000 (20:27 +0000)]
* stabsread.c (read_member_functions): Remove skip code for duplicate
constructor/destructor methods.  Use standard parsing for these
methods and just do not chain them to the list of methods after
parsing.

22 years ago * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
Hans-Peter Nilsson [Tue, 19 Mar 2002 20:21:54 +0000 (20:21 +0000)]
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.

22 years ago* coffread.c: Remove redundant static declarations. Replace
Alexandre Oliva [Tue, 19 Mar 2002 19:00:04 +0000 (19:00 +0000)]
* coffread.c: Remove redundant static declarations.  Replace
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.

22 years ago * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
Andreas Jaeger [Tue, 19 Mar 2002 12:17:58 +0000 (12:17 +0000)]
* gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
* gas/i386/x86-64-opcode.s: Likewise

22 years ago2002-03-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 19 Mar 2002 03:51:06 +0000 (03:51 +0000)]
2002-03-14  Michael Snyder  <msnyder@redhat.com>

* symfile.c (syms_from_objfile): Return immediately if no syms.
(symbol_file_add): Return immediately if no syms.
(find_sym_fns): Return immediately if no syms.

22 years ago* defs.h (XMALLOC): Define.
Andrew Cagney [Tue, 19 Mar 2002 02:51:09 +0000 (02:51 +0000)]
* defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.

* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.

22 years agos/@example/@smallexample/
Andrew Cagney [Tue, 19 Mar 2002 02:49:53 +0000 (02:49 +0000)]
s/@example/@smallexample/

22 years ago* command.h (struct cmd_list_element): Add field context.
Andrew Cagney [Tue, 19 Mar 2002 02:19:17 +0000 (02:19 +0000)]
* command.h (struct cmd_list_element): Add field context.
(set_cmd_context, get_cmd_context): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (get_cmd_context): New function.
(set_cmd_context): New function.
(add_cmd): Initialize context.
Part of fixing PR gdb/145 and PR gdb/146.

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

22 years agodaily update
Alan Modra [Mon, 18 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years agoIncrease default memory size to 8MB.
Anthony Green [Mon, 18 Mar 2002 21:43:15 +0000 (21:43 +0000)]
Increase default memory size to 8MB.

22 years ago * i386-dis.c (prefix_name): Fix handling of 32bit address prefix
Jan Hubicka [Mon, 18 Mar 2002 20:11:49 +0000 (20:11 +0000)]
* i386-dis.c (prefix_name): Fix handling of 32bit address prefix
in 64bit mode.
(print_insn) Likewise.
(putop): Fix handling of 'E'
(OP_E, OP_OFF): handle 32bit addressing mode in 64bit.
(ptr_reg): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 18 Mar 2002 20:01:35 +0000 (20:01 +0000)]
merge from gcc

22 years ago* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
Alexandre Oliva [Mon, 18 Mar 2002 18:56:18 +0000 (18:56 +0000)]
* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
the EXTENDED bit here; report the estimate according to the
current size.

22 years ago * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"
Jan Hubicka [Mon, 18 Mar 2002 16:42:43 +0000 (16:42 +0000)]
* cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"

* configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.

* elf_x86_64.sh (ARCH): Set to i386:x86-64
set libraries to default to lib64 paths.

22 years ago* gdbint.texinfo (Releasing GDB): Add section ``Versions and
Andrew Cagney [Mon, 18 Mar 2002 16:14:04 +0000 (16:14 +0000)]
* gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.

22 years ago* gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Andrew Cagney [Mon, 18 Mar 2002 16:09:32 +0000 (16:09 +0000)]
* gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.

22 years agoAdd AIX 64 shared library support and emulation layer for binutils
Nick Clifton [Mon, 18 Mar 2002 12:46:27 +0000 (12:46 +0000)]
Add AIX 64 shared library support and emulation layer for binutils

22 years agoUpdated French translations
Nick Clifton [Mon, 18 Mar 2002 09:44:22 +0000 (09:44 +0000)]
Updated French translations

22 years ago * ldmain.c (main): Move .text readonly flag fudges from here..
Alan Modra [Mon, 18 Mar 2002 02:55:51 +0000 (02:55 +0000)]
* ldmain.c (main): Move .text readonly flag fudges from here..
* ldlang.c (lang_process): ..to here.

22 years ago* cli/cli-decode.c (cmd_type): New function.
Andrew Cagney [Mon, 18 Mar 2002 02:26:32 +0000 (02:26 +0000)]
* cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.

22 years ago * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
Alan Modra [Mon, 18 Mar 2002 01:26:57 +0000 (01:26 +0000)]
* libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
* libbfd.h: Regenerate.
* archive.c (coff_write_armap): Pass on failures from
bfd_write_bigendian_4byte_int.

22 years ago*** empty log message ***
gdbadmin [Mon, 18 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 17 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago* command.h: (execute_cmd_post_hook): Declare.
Andrew Cagney [Sun, 17 Mar 2002 19:53:39 +0000 (19:53 +0000)]
* command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.

22 years ago* kod.c (kod_set_os): Revert previous change. Is called by ``info
Andrew Cagney [Sun, 17 Mar 2002 19:29:37 +0000 (19:29 +0000)]
* kod.c (kod_set_os): Revert previous change.  Is called by ``info
set'' and this leads to a core dump.  Move xstrdup of
operating_system to after check that it is not NULL.

22 years ago* kod.c (kod_set_os): Remove unnecessary check that
Andrew Cagney [Sun, 17 Mar 2002 16:25:09 +0000 (16:25 +0000)]
* kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.

22 years ago* valprint.c (set_input_radix): Use input_radix.
Andrew Cagney [Sun, 17 Mar 2002 16:10:25 +0000 (16:10 +0000)]
* valprint.c (set_input_radix): Use input_radix.
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.

22 years ago2002-03-16 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 17 Mar 2002 02:42:25 +0000 (02:42 +0000)]
2002-03-16  Chris Demetriou  <cgd@broadcom.com>

        * mips-opc.c (M3D): Tweak comment.
        (mips_builtin_op): Add comment indicating that opcodes of the
        same name must be placed together in the table, and sort
        the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
        "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.

22 years agofix tipo
Andrew Cagney [Sun, 17 Mar 2002 01:32:54 +0000 (01:32 +0000)]
fix tipo

22 years ago* value.h (struct value): Delete field ``substring_addr''. Change
Andrew Cagney [Sun, 17 Mar 2002 01:10:15 +0000 (01:10 +0000)]
* value.h (struct value): Delete field ``substring_addr''.  Change
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.

22 years ago*** empty log message ***
gdbadmin [Sun, 17 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
Peter Schauer [Sat, 16 Mar 2002 21:09:33 +0000 (21:09 +0000)]
* ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
to fix internal_error from ``maintenance print architecture''.

22 years ago * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
Peter Schauer [Sat, 16 Mar 2002 20:53:14 +0000 (20:53 +0000)]
* cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
for gcc versions after gcc-2.8.1.

22 years ago * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
Peter Schauer [Sat, 16 Mar 2002 20:51:44 +0000 (20:51 +0000)]
* eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
for method resolution.  Restore adjustment of ``this'' pointer after
calling value_struct_elt, which was accidentally removed during the
HP merge.

22 years ago* ltmain.sh (relink_command): Fix typo in previous change.
Alexandre Oliva [Sat, 16 Mar 2002 14:43:09 +0000 (14:43 +0000)]
* ltmain.sh (relink_command): Fix typo in previous change.

22 years agoWrap overly long line in last patch.
Andreas Jaeger [Sat, 16 Mar 2002 10:00:43 +0000 (10:00 +0000)]
Wrap overly long line in last patch.

22 years ago * doc/c-mips.texi (Machine Dependencies): Add new node.
Andreas Jaeger [Sat, 16 Mar 2002 09:58:40 +0000 (09:58 +0000)]
* doc/c-mips.texi (Machine Dependencies): Add new node.

22 years agoTidy up sh64 rules
Nick Clifton [Sat, 16 Mar 2002 08:55:53 +0000 (08:55 +0000)]
Tidy up sh64 rules

22 years ago2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 16 Mar 2002 03:12:07 +0000 (03:12 +0000)]
2002-03-15  Chris G. Demetriou  <cgd@broadcom.com>

        * mips-dis.c: Update copyright years.