binutils-gdb.git
20 years agoopcodes/
Alan Modra [Fri, 12 Mar 2004 07:01:37 +0000 (07:01 +0000)]
opcodes/
* i386-dis.c (grps): Use clflush by default for 0x0fae/7.
(OP_E): Twiddle clflush to sfence here.

gas/testsuite/
* gas/i386/katmai.d: Adjust for clflush change.

20 years ago*** empty log message ***
gdbadmin [Fri, 12 Mar 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-03-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 11 Mar 2004 23:51:58 +0000 (23:51 +0000)]
2004-03-11  Andrew Cagney  <cagney@redhat.com>

* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.

20 years agodaily update
Alan Modra [Thu, 11 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
DJ Delorie [Thu, 11 Mar 2004 18:30:52 +0000 (18:30 +0000)]
2004-03-11  Eric Botcazou  <ebotcazou@gcc.gnu.org>
            Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/14522
* configure.in: Cope with shell that do not support nesting
quotes inside quoted backquote substitutions.
* configure: Regenerate.

2004-03-10  Andrew Pinski  <pinskia@physics.uc.edu>

PR bootstrap/14522
* configure.in: Fix escaping of $.
* configure: Regenerate.

20 years ago * solist.h (master_so_list): New function.
Kevin Buettner [Thu, 11 Mar 2004 17:04:40 +0000 (17:04 +0000)]
* solist.h (master_so_list): New function.
* solib.c (master_so_list): Likewise.
* solib-svr4.c (enable_break): Iterate over so_list entries
obtained from master list instead of entries obtained directly
via svr4_current_sos().

20 years ago(top level)
Nathanael Nerode [Thu, 11 Mar 2004 05:15:36 +0000 (05:15 +0000)]
(top level)
2004-03-11  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Regenerate.

2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* configure.in: Find default values for the tools as
soon as possible.  Disable ada if GNAT is not found.
Emit error message about missing languages.  Expand
--enable-languages=all for the gcc subdirectory.

(config)
2004-03-08  Paolo Bonzini  <bonzini@gnu.org>

PR ada/14131
Move language detection to the top level.
* acx.m4 (ACX_PROG_GNAT): New macro, moved here
from the gcc subdirectory.

2004-03-09  Hans-Peter Nilsson  <hp@axis.com>

* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
"-c".  Properly quote parameter for AC_MSG_ERROR.

20 years ago*** empty log message ***
gdbadmin [Thu, 11 Mar 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 10 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * MAINTAINERS: Update my mail address.
Ben Elliston [Wed, 10 Mar 2004 02:58:24 +0000 (02:58 +0000)]
* MAINTAINERS: Update my mail address.

20 years agomerge from gcc
DJ Delorie [Wed, 10 Mar 2004 01:02:12 +0000 (01:02 +0000)]
merge from gcc

20 years ago2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Wed, 10 Mar 2004 00:18:44 +0000 (00:18 +0000)]
2004-03-10  Kei Sakamoto  <sakamoto.kei@renesas.com>

* remote-m32r-sdi.c: Support hardware watchpoint.

20 years agomerge from gcc
DJ Delorie [Wed, 10 Mar 2004 00:01:28 +0000 (00:01 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Wed, 10 Mar 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 9 Mar 2004 23:00:16 +0000 (23:00 +0000)]
daily update

20 years agoPatch from Steve Ellcey for potential race condition.
Jim Wilson [Tue, 9 Mar 2004 20:50:56 +0000 (20:50 +0000)]
Patch from Steve Ellcey for potential race condition.
* elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.

20 years ago * user-regs.c: Update copyright years.
Daniel Jacobowitz [Tue, 9 Mar 2004 20:03:37 +0000 (20:03 +0000)]
* user-regs.c: Update copyright years.
(struct user_regs): Rename to gdb_user_regs.
(append_user_reg, builtin_user_regs, user_regs_init)
(user_reg_add, user_reg_map_name_to_regnum)
(usernum_to_user_reg): Update.

20 years ago * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
Daniel Jacobowitz [Tue, 9 Mar 2004 19:38:11 +0000 (19:38 +0000)]
* dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
(skip_children): New functions.
(locate_pdi_sibling): Call skip_children.

20 years ago2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 9 Mar 2004 17:34:39 +0000 (17:34 +0000)]
2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>

From Corinna Vinschen with modifications.
* gdb.cp/classes.cc (enums1): Add a line to extend scope of
local variable obj_with_enum.
* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
results with obj_with_enum.

20 years ago2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 9 Mar 2004 17:11:55 +0000 (17:11 +0000)]
2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.

20 years ago * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
Daniel Jacobowitz [Tue, 9 Mar 2004 17:08:25 +0000 (17:08 +0000)]
* arm-tdep.c (arm_use_struct_convention): Look through typedefs.
* gdbtypes.c (check_typedef): Update comments.

20 years ago2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 9 Mar 2004 17:02:06 +0000 (17:02 +0000)]
2004-03-09  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/misc.cc: Add copyright notice.

20 years ago * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
Daniel Jacobowitz [Tue, 9 Mar 2004 16:57:44 +0000 (16:57 +0000)]
* dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
(struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
pointer.  Update comment about comp_unit_head.
(struct abbrev_info): Shorten two int flags.
(dwarf_alloc_abbrev): Take a CU argument.
(dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
each time through the loop.  Update cleanup argument.
(psymtab_to_symtab_1): Update cleanup call.
(dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
abbrev_obstack.
(dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
Just call obstack_free and clear the pointer.

20 years ago * infrun.c (handle_inferior_event): Remove short-circuit code for
Daniel Jacobowitz [Tue, 9 Mar 2004 16:40:08 +0000 (16:40 +0000)]
* infrun.c (handle_inferior_event): Remove short-circuit code for
events in a different thread.

20 years ago * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
Daniel Jacobowitz [Tue, 9 Mar 2004 16:16:52 +0000 (16:16 +0000)]
* target.c (debug_to_xfer_memory): If targetdebug is 1, don't
print the whole transfer.
(initialize_targets): Update description of "set debug target".

20 years ago * gdb.texinfo (Debugging Output): Document values for "set debug
Daniel Jacobowitz [Tue, 9 Mar 2004 16:16:35 +0000 (16:16 +0000)]
* gdb.texinfo (Debugging Output): Document values for "set debug
target".

20 years ago * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
Daniel Jacobowitz [Tue, 9 Mar 2004 15:44:26 +0000 (15:44 +0000)]
* arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.

20 years agomerge from gcc
DJ Delorie [Tue, 9 Mar 2004 05:31:00 +0000 (05:31 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Tue, 9 Mar 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 8 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/cfi/cfi-s390x-1.d: Adjust offsets.
Andreas Jaeger [Mon, 8 Mar 2004 19:12:30 +0000 (19:12 +0000)]
* gas/cfi/cfi-s390x-1.d: Adjust offsets.

20 years ago2004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
Nathan J. Williams [Mon, 8 Mar 2004 17:52:27 +0000 (17:52 +0000)]
2004-03-08  Nathan J. Williams  <nathanw@wasabisystems.com>

* MAINTAINERS (write after approval): Add myself.

20 years agoHonour the PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 11:50:36 +0000 (11:50 +0000)]
Honour the PRIVATE keyword

20 years agoHonour PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 11:33:59 +0000 (11:33 +0000)]
Honour PRIVATE keyword

20 years ago * sh-tdep.c (sh_print_registers_info): Use for loop.
Corinna Vinschen [Mon, 8 Mar 2004 10:18:13 +0000 (10:18 +0000)]
* sh-tdep.c (sh_print_registers_info): Use for loop.
Don't skip multiple registers when a float register is encountered.

20 years ago Fix PR tdep/1291.
Corinna Vinschen [Mon, 8 Mar 2004 10:15:33 +0000 (10:15 +0000)]
Fix PR tdep/1291.
* sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
to official SH documentation.

20 years agoUpdated German translation
Nick Clifton [Mon, 8 Mar 2004 10:06:13 +0000 (10:06 +0000)]
Updated German translation

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 8 Mar 2004 01:45:02 +0000 (01:45 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
unused function.

20 years ago*** empty log message ***
gdbadmin [Mon, 8 Mar 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.
Richard Henderson [Sun, 7 Mar 2004 23:02:02 +0000 (23:02 +0000)]
    * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.

20 years agodaily update
Alan Modra [Sun, 7 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * arm-tdep.c (thumb_get_next_pc): Handle BX.
Daniel Jacobowitz [Sun, 7 Mar 2004 20:03:12 +0000 (20:03 +0000)]
* arm-tdep.c (thumb_get_next_pc): Handle BX.
(arm_get_next_pc): Handle BX and BLX.

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 19:58:27 +0000 (19:58 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
HPPA_SP_REGNUM.
(hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
(hppa_target_read_fp): Delete.
(hppa_gdbarch_init): Do not set deprecated register_raw_size,
register_virtual_size, max_register_raw_size,
max_register_virtual_size, register_byte, register_size,
target_read_fp, fp_regnum, and register_bytes.  Set register_type
instead of register_virtual_type.
(hppa32_register_type, hppa64_register_type): Replace
hppa32_register_virtual_type and hppa64_register_virtual_type.
* config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
(HPPA_FP_REGNUM): Define.

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 19:21:13 +0000 (19:21 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Add missing "break".

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 19:00:43 +0000 (19:00 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
(pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
(pa_strcat_fp_reg, pa_register_look_aside): Delete.
* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
(pa_do_registers_info): Delete.

20 years agoOops, fix tipo.
Andrew Cagney [Sun, 7 Mar 2004 18:09:23 +0000 (18:09 +0000)]
Oops, fix tipo.

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 18:06:14 +0000 (18:06 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* infcall.c (legacy_push_dummy_code): Delete #ifdef
GDB_TARGET_IS_HPPA code.
* config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
(hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
(DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
* config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
* hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
(hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
(hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
(hppa_init_extra_frame_info, hppa_saved_pc_after_call)
(hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
(hppa_frameless_function_invocation, hppa64_store_return_value)
(hppa_store_struct_return, hppa64_extract_return_value)
(hppa64_use_struct_convention, hppa_frame_find_saved_regs)
(hppa32_call_dummy_length, hppa64_call_dummy_length)
(find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
(find_proc_framesize, deposit_21, restore_pc_queue)
(find_return_regnum, pc_in_interrupt_handler, deposit_14)
(rp_saved, pc_in_linker_stub):

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 17:19:26 +0000 (17:19 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

Unconditionally enable 64-bit frame and ABI code.
* hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
call_dummy_breakpoint_offset, call_dummy_length, stack_align,
push_dummy_frame, fix_call_dummy, push_arguments,
call_dummy_location, extract_return_value, use_struct_convention,
store_return_value, store_struct_return, saved_pc_after_call,
init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
frame_chain, frame_chain_valid, frameless_function_invocation,
frame_saved_pc, and pop_frame.

20 years ago2004-03-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 7 Mar 2004 17:06:21 +0000 (17:06 +0000)]
2004-03-07  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
(hppa64_return_value, hppa64_push_dummy_call): Rewrite.
(hppa_gdbarch_init): Do not set PC_REGNUM.

20 years agomerge from gcc
DJ Delorie [Sun, 7 Mar 2004 16:05:22 +0000 (16:05 +0000)]
merge from gcc

20 years ago* doc/c-hppa.texi (HPPA Directives): Fix typo.
Andreas Schwab [Sun, 7 Mar 2004 15:00:16 +0000 (15:00 +0000)]
* doc/c-hppa.texi (HPPA Directives): Fix typo.

20 years ago * gas/cfi/cfi-x86_64.d: Adjust offsets.
Andreas Jaeger [Sun, 7 Mar 2004 10:04:42 +0000 (10:04 +0000)]
* gas/cfi/cfi-x86_64.d: Adjust offsets.

20 years ago * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
Richard Henderson [Sun, 7 Mar 2004 08:51:21 +0000 (08:51 +0000)]
    * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
        (cfi_finish): Likewise for fde.

        * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
        gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
        gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.

20 years ago*** empty log message ***
gdbadmin [Sun, 7 Mar 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 6 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* config/alpha/tm-fbsd.h: Remove file.
Mark Kettenis [Sat, 6 Mar 2004 13:50:58 +0000 (13:50 +0000)]
* config/alpha/tm-fbsd.h: Remove file.
* config/alpha/fbsd.mt: Tweak comment.
(TM_FILE): Set to tm-alpha.h.

20 years ago2004-03-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 6 Mar 2004 00:10:06 +0000 (00:10 +0000)]
2004-03-05  Andrew Cagney  <cagney@redhat.com>

* infrun.c (step_over_function): When non-legacy code, and no
step_frame_id, use the unwinder to get the caller's frame ID.

20 years ago*** empty log message ***
gdbadmin [Sat, 6 Mar 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoReviewed and approved by Alan Modra <amodra@bigpond.net.au>
Fred Fish [Fri, 5 Mar 2004 23:50:54 +0000 (23:50 +0000)]
Reviewed and approved by Alan Modra <amodra@bigpond.net.au>

2004-03-05  Fred Fish  <fnf@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
mips16 symbols to be even rather than testing first for even/odd.
(_bfd_mips_elf_link_output_symbol_hook): Ditto.

20 years ago* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
Mark Kettenis [Fri, 5 Mar 2004 21:01:56 +0000 (21:01 +0000)]
* i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown.  Adjust comment.

20 years ago* i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
Mark Kettenis [Fri, 5 Mar 2004 20:58:00 +0000 (20:58 +0000)]
* i386-nat.c: Fix typo in comment.  Re-introduce paranoiac.
* i386obsd-tdep.c: Correct spelling in comment.
* i386nbsd-tdep.c: Correct spelling in comment.
* sparc-tdep.c: Correct spelling in comments.

20 years ago * ld-scripts/size-1.d: Add bigendian regexps.
Nathan Sidwell [Fri, 5 Mar 2004 19:27:34 +0000 (19:27 +0000)]
* ld-scripts/size-1.d: Add bigendian regexps.
* ld-scripts/size-2.d: Set --wide for readelf.

20 years ago2004-03-05 David Carlton <carlton@kealia.com>
David Carlton [Fri, 5 Mar 2004 17:32:25 +0000 (17:32 +0000)]
2004-03-05  David Carlton  <carlton@kealia.com>

* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
bug.

2004-03-05  David Carlton  <carlton@kealia.com>

* gdb.cp/rtti.exp: Add 'print *obj3' test.
* gdb.cp/rtti.h: Update copyright.
(namespace n2::n3): New.
* gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
(n2::n3::func3): New.
(main): Call n2::n3::func3.
* gdb.cp/rtti2.cc: Update copyright.
(n2::create3): New.

20 years ago2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 Mar 2004 17:07:12 +0000 (17:07 +0000)]
2004-03-05  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (md_assemble): Properly handle NULL
align_frag.
(ia64_handle_align): Don't abort if failed to add a stop bit.

20 years ago* sparc-tdep.c: Fix typo in comment.
Mark Kettenis [Fri, 5 Mar 2004 15:34:29 +0000 (15:34 +0000)]
* sparc-tdep.c: Fix typo in comment.

20 years ago * elf.c (map_sections_to_segments): Ignore .tbss sections for
Nathan Sidwell [Fri, 5 Mar 2004 11:26:05 +0000 (11:26 +0000)]
* elf.c (map_sections_to_segments): Ignore .tbss sections for
layout purposes.

* ldlang.c (lang_add_section): Don't force SEC_LOAD on
SEC_THREAD_LOCAL.
(IGNORE_SECTION): Ignore .tbss sections too.
(lang_size_sections_1): .tbss sections do not advance dot.

* ld-scripts/size.exp: New.
* ld-scripts/size-[12].{d,s,t}: New.

20 years ago * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
Joel Brobecker [Fri, 5 Mar 2004 04:49:52 +0000 (04:49 +0000)]
    * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.

20 years ago * server.c (main): Print child status or termination signal from
Daniel Jacobowitz [Fri, 5 Mar 2004 03:44:27 +0000 (03:44 +0000)]
* server.c (main): Print child status or termination signal from
variable 'signal', not 'sig'.

20 years ago * linux-low.c (linux_read_memory): Change return type to
Daniel Jacobowitz [Fri, 5 Mar 2004 03:43:19 +0000 (03:43 +0000)]
* linux-low.c (linux_read_memory): Change return type to
int.  Check for and return error from ptrace().
* target.c (read_inferior_memory): Change return type to int.  Pass
back return status from the_target->read_memory().
* target.h (struct target_ops): Adapt *read_memory() prototype.
Update comment.
(read_inferior_memory): Adapt prototype.
* server.c (main): Return an error packet if
read_inferior_memory() returns an error.

20 years ago * dwarf2read.c: Add comment describing memory lifetimes.
Daniel Jacobowitz [Fri, 5 Mar 2004 03:30:36 +0000 (03:30 +0000)]
* dwarf2read.c: Add comment describing memory lifetimes.
(struct dwarf2_pinfo): Update comment.
(dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
(read_enumeration, new_symbol): Don't use obsavestring.

20 years ago*** empty log message ***
gdbadmin [Fri, 5 Mar 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 4 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago * Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
Daniel Jacobowitz [Thu, 4 Mar 2004 21:58:59 +0000 (21:58 +0000)]
* Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
Unify with other clean targets.

20 years ago2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Mar 2004 17:08:23 +0000 (17:08 +0000)]
2004-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

20 years ago* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
Mark Kettenis [Thu, 4 Mar 2004 10:35:57 +0000 (10:35 +0000)]
* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave.
* amd64bsd-nat.c (store_inferior_registers): Likewise.
* amd64fbsd-nat.c (fill_fpregset): Likewise.

20 years ago* gdb.asm/openbsd.inc: Fix typo.
Mark Kettenis [Thu, 4 Mar 2004 10:23:16 +0000 (10:23 +0000)]
* gdb.asm/openbsd.inc: Fix typo.

20 years ago* sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Mark Kettenis [Thu, 4 Mar 2004 10:10:33 +0000 (10:10 +0000)]
* sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Reorganize code a bit.

20 years ago2004-03-04 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Thu, 4 Mar 2004 09:10:20 +0000 (09:10 +0000)]
2004-03-04  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
when the frame pointer is pushed.  Don't set the frame pointer's
address on the stack unless it's actually located there.
Set the SRP's address on the stack correctly when the PC is still in
the prologue.
(cris_return_value): New function.
(cris_gdbarch_init): Clear deprecated store_return_value,
extract_return_value.

20 years ago * gas/sh/sh64/err-dsp.s: Fix expected error message.
Kaz Kojima [Thu, 4 Mar 2004 01:24:21 +0000 (01:24 +0000)]
* gas/sh/sh64/err-dsp.s: Fix expected error message.

20 years ago*** empty log message ***
gdbadmin [Thu, 4 Mar 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 3 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
Alexandre Oliva [Wed, 3 Mar 2004 21:31:10 +0000 (21:31 +0000)]
* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
undefined symbols as hash_new.

20 years ago2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 19:26:26 +0000 (19:26 +0000)]
2004-03-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (dot_align): New.
(ia64_do_align): Make it static.
(md_pseudo_table): Use "dot_align" for "align".
(ia64_md_do_align): Don't set align_frag here.
(ia64_handle_align): Add a stop bit to the previous bundle if
needed.

* config/tc-ia64.h (ia64_do_align): Removed.

20 years agoCommitted under "obvious fix rule".
Fred Fish [Wed, 3 Mar 2004 19:12:52 +0000 (19:12 +0000)]
Committed under "obvious fix rule".

2004-03-03  Fred Fish  <fnf@redhat.com>
* gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
"val" instead of unused "size".  Update copyright year.

20 years ago2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)]
2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>

opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.

20 years ago2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 04:37:38 +0000 (04:37 +0000)]
2004-03-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (align_frag): New.
(md_assemble): Set the tc_frag_data field in align_frag for
IA64_OPCODE_FIRST instructions.
(ia64_md_do_align): Set align_frag.
(ia64_handle_align): Add a stop bit if needed.

* config/tc-ia64.h (TC_FRAG_TYPE): New.
(TC_FRAG_INIT): New.

20 years ago*** empty log message ***
gdbadmin [Wed, 3 Mar 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
Alexandre Oliva [Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)]
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
dynrelocs.
(_frv_count_got_plt_entries): Initialize them.
(frv_pic_relocs_info_find): Add insert argument.  Adjust all
callers.
(frv_pic_relocs_info_for_global): Likewise.
(frv_pic_relocs_info_for_local): Likewise.
(frv_pic_merge_early_relocs_info): New.
(_frv_resolve_final_relocs_info): Use it in case one entry maps to
another.
(_frv_add_dyn_reloc): Add entry argument.  Adjust all callers.
Check that we don't exceed the allocated count for entry.
(_frv_add_rofixup): Likewise.
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
(elf32_frv_finish_dynamic_sections): Improve error message in case
we emit too few rofixup entries.

20 years agodaily update
Alan Modra [Tue, 2 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* stabsread.c (reg_value_complaint): The maximum register number
Jim Blandy [Tue, 2 Mar 2004 20:31:56 +0000 (20:31 +0000)]
* stabsread.c (reg_value_complaint): The maximum register number
is one less than the number of registers.

20 years ago2004-03-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 2 Mar 2004 15:58:59 +0000 (15:58 +0000)]
2004-03-02  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM.  Remove
trailing comma and redundant assignment of I386_ST0_REGNUM.
* amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
32-bit segment registers.

20 years ago2004-03-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 2 Mar 2004 02:20:25 +0000 (02:20 +0000)]
2004-03-01  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
use frame_relative_level and get_next_frame.

20 years ago*** empty log message ***
gdbadmin [Tue, 2 Mar 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 1 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * configure.in (mips64*-*-linux*): Override mips*-*-linux* case
Richard Sandiford [Mon, 1 Mar 2004 19:34:14 +0000 (19:34 +0000)]
* configure.in (mips64*-*-linux*): Override mips*-*-linux* case
and disable libgcj.
* configure: Regenerated.

20 years ago* ld.texinfo (Options): Fix example for --wrap.
Andreas Schwab [Mon, 1 Mar 2004 17:33:36 +0000 (17:33 +0000)]
* ld.texinfo (Options): Fix example for --wrap.

20 years agoAdd fr450 support.
Richard Sandiford [Mon, 1 Mar 2004 10:11:46 +0000 (10:11 +0000)]
Add fr450 support.

20 years agocpu/
Richard Sandiford [Mon, 1 Mar 2004 09:42:33 +0000 (09:42 +0000)]
cpu/
* frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
(scutss): Change unit to I0.
(calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
(mqsaths): Fix FR400-MAJOR categorization.
(media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
(media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
* frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
combinations.

opcodes/
* frv-desc.c, frv-opc.c: Regenerate.

sim/frv/
* cache.c (frv_cache_init): Change fr400 cache statistics to match
the fr405.
(non_cache_access): Add missing breaks.
* interrupts.c (set_exception_status_registers): Always set EAR15
for data_access_errors.
* memory.c (fr400_check_write_address): Remove redundant alignment
check.
* model.c: Regenerate.

20 years agosim/frv/
Richard Sandiford [Mon, 1 Mar 2004 09:33:48 +0000 (09:33 +0000)]
sim/frv/
* frv.c (frvbf_iacc_cut): Rework, taking rounding into account.

testsuite/
* sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
Add some new ones.

20 years agocpu/
Richard Sandiford [Mon, 1 Mar 2004 09:26:33 +0000 (09:26 +0000)]
cpu/
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
(rstb, rsth, rst, rstd, rstq): Delete.
(rstbf, rsthf, rstf, rstdf, rstqf): Delete.

gas/testsuite/
* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
* gas/frv/allinsn.d: Update accordingly.

opcodes/
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.

sim/frv/
* decode.c, decode.h, model.c, sem.c: Regenerate.

sim/testsuite/
* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.