Alan Modra [Sun, 24 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
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.
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.
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.
gdbadmin [Sun, 24 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 23 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update
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.
Andrew Cagney [Sat, 23 Mar 2002 18:52:46 +0000 (18:52 +0000)]
* MAINTAINERS (sh-elf): Change warning flag to -w.
Andreas Jaeger [Sat, 23 Mar 2002 18:15:32 +0000 (18:15 +0000)]
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
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.
Matthew Green [Sat, 23 Mar 2002 14:14:30 +0000 (14:14 +0000)]
* ppc-opc.c (vmaddfp): Fix operand order.
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.
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.
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.
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.
gdbadmin [Sat, 23 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 22 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update
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.
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.
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.
Alan Modra [Fri, 22 Mar 2002 02:07:36 +0000 (02:07 +0000)]
* config/te-aix5.h: Typo fix.
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.
gdbadmin [Fri, 22 Mar 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 21 Mar 2002 23:01:32 +0000 (23:01 +0000)]
daily update
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.
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.
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
Alan Modra [Thu, 21 Mar 2002 09:53:45 +0000 (09:53 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
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.
Alan Modra [Thu, 21 Mar 2002 09:42:38 +0000 (09:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
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.
Alan Modra [Thu, 21 Mar 2002 09:23:41 +0000 (09:23 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
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.
Nick Clifton [Thu, 21 Mar 2002 09:13:34 +0000 (09:13 +0000)]
Fix typo
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.
Alan Modra [Thu, 21 Mar 2002 05:35:39 +0000 (05:35 +0000)]
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.
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.
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.
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.
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>
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.
gdbadmin [Thu, 21 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 20 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
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.
Tom Rix [Wed, 20 Mar 2002 16:49:10 +0000 (16:49 +0000)]
Fix extracting from AIX big archives.
Tom Rix [Wed, 20 Mar 2002 12:03:27 +0000 (12:03 +0000)]
Fix problem with linking shared libstdc++-v3 on AIX.
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.
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.
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.
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.
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.
gdbadmin [Wed, 20 Mar 2002 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Tue, 19 Mar 2002 23:49:51 +0000 (23:49 +0000)]
* ld-cris/ldsym1.d: New test.
Alan Modra [Tue, 19 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update
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.
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>
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.
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.
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.
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
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.
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.
Andrew Cagney [Tue, 19 Mar 2002 02:49:53 +0000 (02:49 +0000)]
s/@example/@smallexample/
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.
gdbadmin [Tue, 19 Mar 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 18 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Anthony Green [Mon, 18 Mar 2002 21:43:15 +0000 (21:43 +0000)]
Increase default memory size to 8MB.
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.
DJ Delorie [Mon, 18 Mar 2002 20:01:35 +0000 (20:01 +0000)]
merge from gcc
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.
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.
Andrew Cagney [Mon, 18 Mar 2002 16:14:04 +0000 (16:14 +0000)]
* gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.
Andrew Cagney [Mon, 18 Mar 2002 16:09:32 +0000 (16:09 +0000)]
* gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.
Nick Clifton [Mon, 18 Mar 2002 12:46:27 +0000 (12:46 +0000)]
Add AIX 64 shared library support and emulation layer for binutils
Nick Clifton [Mon, 18 Mar 2002 09:44:22 +0000 (09:44 +0000)]
Updated French translations
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.
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.
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.
gdbadmin [Mon, 18 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 17 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
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.
Andrew Cagney [Sun, 17 Mar 2002 01:32:54 +0000 (01:32 +0000)]
fix tipo
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.
gdbadmin [Sun, 17 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
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''.
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.
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.
Alexandre Oliva [Sat, 16 Mar 2002 14:43:09 +0000 (14:43 +0000)]
* ltmain.sh (relink_command): Fix typo in previous change.
Andreas Jaeger [Sat, 16 Mar 2002 10:00:43 +0000 (10:00 +0000)]
Wrap overly long line in last patch.
Andreas Jaeger [Sat, 16 Mar 2002 09:58:40 +0000 (09:58 +0000)]
* doc/c-mips.texi (Machine Dependencies): Add new node.
Nick Clifton [Sat, 16 Mar 2002 08:55:53 +0000 (08:55 +0000)]
Tidy up sh64 rules
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.
Chris Demetriou [Sat, 16 Mar 2002 03:09:19 +0000 (03:09 +0000)]
[ gas/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
(mips_opts): Initialize "ase_mips3d" member.
(file_ase_mips3d): New variable.
(CPU_HAS_MIPS3D): New macro.
(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
based on command line options and configuration defaults.
(macro_build, mips_ip): Accept MIPS-3D instructions if
mips_opts.ase_mips3d is set.
(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
Add support for "-mips3d" and "-no-mips3d" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mips3d" and ".set nomips3d".
(mips_elf_final_processing): Add a comment indicating that a
MIPS-3D ASE ELF header flag should be set, when one exists.
* doc/as.texinfo: Document -mips3d and -no-mips3d options.
* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
nomips3d" directives.
[ gas/testsuite/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips64-mips3d.s: New file.
* gas/mips/mips64-mips3d.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mips3d" test.
[ include/opcode/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D
instructions.
(OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks
may be passed along with the ISA bitmask.
[ opcodes/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
indicate that they should dissassemble all applicable
MIPS-specified ASEs.
* mips-opc.c: Add support for MIPS-3D instructions.
(M3D): New definition.
* mips-opc.c: Update copyright years.
Andrew Cagney [Sat, 16 Mar 2002 02:57:42 +0000 (02:57 +0000)]
* eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter. Pass to
get_saved_register.
* value.h (value_of_register): Update.
Chris Demetriou [Sat, 16 Mar 2002 02:53:52 +0000 (02:53 +0000)]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
Chris Demetriou [Sat, 16 Mar 2002 02:09:36 +0000 (02:09 +0000)]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for
mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2.