binutils-gdb.git
20 years ago * interp.c (sim_prepare_for_program): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 01:08:34 +0000 (01:08 +0000)]
* interp.c (sim_prepare_for_program): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.

20 years ago * sim-load.c (sim_load_file): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 01:08:00 +0000 (01:08 +0000)]
* sim-load.c (sim_load_file): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.

20 years ago * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
Alan Modra [Tue, 15 Jun 2004 01:04:20 +0000 (01:04 +0000)]
* dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
bfd_get_section_size_before_reloc or _raw_size.
* dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
* dwarf2read.c (dwarf2_locate_sections): Likewise.
(dwarf2_read_section): Likewise.
* elfread.c (elf_locate_sections): Likewise.
* gcore.c (derive_heap_segment): Likewise.
* mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
* remote-e7000.c (e7000_load): Likewise.
* remote-m32r-sdi.c (m32r_load): Likewise.
* remote-mips.c (mips_load_srec): Likewise.
(pmon_load_fast): Likewise.
* remote.c (compare_sections_command): Likewise.
* symfile.c (add_section_size_callback): Likewise.
(load_section_callback): Likewise.
(pc_in_unmapped_range): Likewise.
(pc_in_mapped_range): Likewise.
(sections_overlap): Likewise.
(list_overlays_command): Likewise.
(simple_overlay_update_1): Likewise.
(simple_overlay_update): Likewise.
* tracepoint.c (remote_set_transparent_ranges): Likewise.
* win32-nat.c (core_section_load_dll_symbols): Likewise.

20 years ago2004-06-14 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 15 Jun 2004 00:16:42 +0000 (00:16 +0000)]
2004-06-14  Andrew Cagney  <cagney@gnu.org>

* gdb.base/gcore.exp (capture_command_output): Delete the always
passing tests containing inferior values.
* gdb.base/ending-run.exp: Do not include the breakpoint address
in the test message.  Update copyright.
* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
size in the test name, use gdb_test_multiple.  Update copyright.

20 years agodaily update
Alan Modra [Tue, 15 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 15 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoChangeLog editorial fixes.
Andrew Cagney [Mon, 14 Jun 2004 22:52:52 +0000 (22:52 +0000)]
ChangeLog editorial fixes.

20 years ago2004-06-14 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 14 Jun 2004 22:26:34 +0000 (22:26 +0000)]
2004-06-14  Andrew Cagney  <cagney@gnu.org>

Based on changes from Karl Berry.
* gdb.texinfo: Do not use @sc in a direntry.
* stabs.texinfo: Change @dircateogry to "Software development".
* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.

20 years ago2004-06-14 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 14 Jun 2004 20:40:40 +0000 (20:40 +0000)]
2004-06-14  Randolph Chung  <tausq@debian.org>

* Makefile.in (hppa-hpux-tdep.o): Update dependency.
* hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
static.
(hppa_hpux_inferior_created): New function.
(hppa_hpux_init_abi): Register observer.
* symfile.c (hp_cxx_exception_support_initialized)
(RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
(symbol_file_add_main_1, symbol_file_clear): Likewise.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Mon, 14 Jun 2004 18:25:10 +0000 (18:25 +0000)]
[ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.

20 years ago2004-06-14 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 14 Jun 2004 17:35:07 +0000 (17:35 +0000)]
2004-06-14  Randolph Chung  <tausq@debian.org>

* MAINTAINERS (Write After Approval): Alphabetize my entry correctly.

20 years ago2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 14 Jun 2004 16:30:16 +0000 (16:30 +0000)]
2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/ref-types.cc: Add copyright notice.

20 years ago2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 14 Jun 2004 15:29:30 +0000 (15:29 +0000)]
2004-06-14  Michael Chastain  <mec.gnu@mindspring.com>

* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Eval lines only if they are
'set' commands.  Log diagnostics for other lines.  Set
gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.

20 years agoIndex: ChangeLog
Andrew Cagney [Mon, 14 Jun 2004 13:40:34 +0000 (13:40 +0000)]
Index: ChangeLog
2004-06-14  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS (testsuite): List Michael Chastain as the lead
testsuite maintainer.

20 years ago * ldlang.c (lang_finish): Don't free lang_definedness_table.
Alan Modra [Mon, 14 Jun 2004 12:46:43 +0000 (12:46 +0000)]
* ldlang.c (lang_finish): Don't free lang_definedness_table.

20 years ago*** empty log message ***
gdbadmin [Mon, 14 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 14 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-06-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 13 Jun 2004 17:05:55 +0000 (17:05 +0000)]
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* infcmd.c (print_return_value): Fix logic, allow
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.

20 years ago2004-06-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 13 Jun 2004 17:04:49 +0000 (17:04 +0000)]
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
defining any macros.
* gdbarch.h: Re-generate.

20 years ago2004-06-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 13 Jun 2004 16:43:58 +0000 (16:43 +0000)]
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh: Delete "level" attribute.  Only check for a macro
redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
* gdbarch.h: Re-generate.

20 years ago2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 13 Jun 2004 16:07:02 +0000 (16:07 +0000)]
2004-06-13  Michael Chastain  <mec.gnu@mindspring.com>

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

20 years ago2004-06-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 13 Jun 2004 15:15:59 +0000 (15:15 +0000)]
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* values.c (generic_use_struct_convention): Don't check gcc_p.

20 years ago2004-06-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 13 Jun 2004 13:49:53 +0000 (13:49 +0000)]
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
(NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
deprecated_max_register_raw_size and
deprecated_max_register_virtual_size.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.

20 years agoIndex: ChangeLog
Andrew Cagney [Sun, 13 Jun 2004 13:42:33 +0000 (13:42 +0000)]
Index: ChangeLog
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
(m68hc11_use_struct_convention): Delete function.
(m68hc11_extract_struct_value_address): Delete function.
(m68hc11_return_value): New function.
(m68hc11_gdbarch_init): Instead of store_return_value,
extract_return_value, return_value_on_stack,
deprecated_extract_struct_value_address and use_struct_convention,
set return_value.
* values.c (using_struct_return): Do not call
RETURN_VALUE_ON_STACK.
* arch-utils.h (generic_return_value_on_stack_not): Delete
declaration.
* arch-utils.c (generic_return_value_on_stack_not): Delete
function.

Index: doc/ChangeLog
2004-06-13  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Target Architecture Definition): Delete
description of RETURN_VALUE_ON_STACK.

20 years ago*** empty log message ***
gdbadmin [Sun, 13 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 13 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago2004-06-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 12 Jun 2004 18:02:30 +0000 (18:02 +0000)]
2004-06-12  Andrew Cagney  <cagney@gnu.org>

* values.c (register_value_being_returned): Delete function.
* infcmd.c (legacy_return_value): Delete function.
* infcall.c (call_function_by_hand): Inline
"register_value_being_returned", simplify.
* values.c (using_struct_return): Update comment, refer to
print_return_value instead of register_value_being_returned.
* infcmd.c (print_return_value): Inline calls to
register_value_being_returned and legacy_return_value.  Simplify.

20 years ago2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 12 Jun 2004 16:45:49 +0000 (16:45 +0000)]
2004-06-12  Michael Chastain  <mec.gnu@mindspring.com>

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

20 years agoYA forced checkin to see if I can duplicate the header mismatch problem.
Christopher Faylor [Sat, 12 Jun 2004 16:07:16 +0000 (16:07 +0000)]
YA forced checkin to see if I can duplicate the header mismatch problem.

20 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
Alan Modra [Sat, 12 Jun 2004 11:30:10 +0000 (11:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
overflow on branches to undefweaks.

20 years ago2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 12 Jun 2004 01:20:50 +0000 (01:20 +0000)]
2004-06-11  Michael Chastain  <mec.gnu@mindspring.com>

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

20 years agodaily update
Alan Modra [Sat, 12 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

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

20 years ago2004-06-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 11 Jun 2004 23:44:24 +0000 (23:44 +0000)]
2004-06-11  Randolph Chung  <tausq@debian.org>

* somread.c (som_symtab_read): Exclude gcc local symbols.

20 years ago2004-06-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 11 Jun 2004 23:42:49 +0000 (23:42 +0000)]
2004-06-11  Randolph Chung  <tausq@debian.org>

* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
problem.

20 years ago2004-06-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 11 Jun 2004 23:39:51 +0000 (23:39 +0000)]
2004-06-11  Randolph Chung  <tausq@debian.org>

* infrun.c (handle_inferior_event): Handle the case when a trampoline
ends up in the runtime resolver, and if the trampoline has no name.
Rearrange the code so that all the trampoline processing happens before
other step-out-of-range handling.

20 years ago2004-06-11 Martin Hunt <hunt@redhat.com>
Martin Hunt [Fri, 11 Jun 2004 19:34:29 +0000 (19:34 +0000)]
2004-06-11  Martin Hunt  <hunt@redhat.com>

* mips-tdep.c (mips_gdbarch_init): Recognize vr4120
has no fpu.

20 years ago * config/tc-hppa.c (log2): Rename to exact_log2.
Dave Anglin [Fri, 11 Jun 2004 17:39:18 +0000 (17:39 +0000)]
* config/tc-hppa.c (log2): Rename to exact_log2.
(pa_next_subseg): Delete unused function.
(create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
(create_new_subspace): Likewise.

20 years ago Bug gas/213
Dave Anglin [Fri, 11 Jun 2004 17:36:32 +0000 (17:36 +0000)]
Bug gas/213
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
labels.  Fix warning.

20 years ago* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
Maciej W. Rozycki [Fri, 11 Jun 2004 14:19:32 +0000 (14:19 +0000)]
* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.

20 years agoforced checkin
Christopher Faylor [Fri, 11 Jun 2004 13:52:50 +0000 (13:52 +0000)]
forced checkin

20 years agoforced checkin
Christopher Faylor [Fri, 11 Jun 2004 13:51:28 +0000 (13:51 +0000)]
forced checkin

20 years agoforced checkin
Christopher Faylor [Fri, 11 Jun 2004 01:53:38 +0000 (01:53 +0000)]
forced checkin

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 11 Jun 2004 00:41:56 +0000 (00:41 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* blockframe.c (legacy_inside_entry_func): Delete.
(legacy_frame_chain_valid): Inline call to
legacy_inside_entry_func, simplify.

20 years agodaily update
Alan Modra [Fri, 11 Jun 2004 00:00:10 +0000 (00:00 +0000)]
daily update

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

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Jun 2004 21:38:03 +0000 (21:38 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.

20 years ago2004-06-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 10 Jun 2004 20:22:17 +0000 (20:22 +0000)]
2004-06-10  Michael Snyder  <msnyder@redhat.com>
        Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
        * compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.

20 years agoSorry, date was wrong.
Bob Rossi [Thu, 10 Jun 2004 20:08:22 +0000 (20:08 +0000)]
Sorry, date was wrong.

20 years agoAdd the -file-list-exec-source-files command to MI.
Bob Rossi [Thu, 10 Jun 2004 20:05:45 +0000 (20:05 +0000)]
Add the -file-list-exec-source-files command to MI.

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Jun 2004 18:25:49 +0000 (18:25 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
to generic_use_struct_convention, the default value.

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Jun 2004 17:49:50 +0000 (17:49 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* mn10300-tdep.c (mn10300_type_align): Call internal_error instead
of abort.

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Jun 2004 17:39:28 +0000 (17:39 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
legacy_push_arguments.
* value.h (legacy_push_arguments): Delete declaration.
* valops.c (legacy_push_arguments): Delete function.
(value_push): Delete function.

20 years ago* coffread.c (coff_symfile_read): Prevent mixed debugging formats
Brian Ford [Thu, 10 Jun 2004 15:52:04 +0000 (15:52 +0000)]
* coffread.c (coff_symfile_read): Prevent mixed debugging formats
from corrupting/reinitializing the psymtab.  Support DWARF 2 frame
info.
* dbxread.c (elfstab_build_psymtabs): Remove bogus comment.

20 years ago2004-06-10 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 10 Jun 2004 13:22:07 +0000 (13:22 +0000)]
2004-06-10  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
parameters.
* dummy-frame.c (deprecated_pc_in_call_dummy): Update.
* arm-tdep.c (arm_pc_is_thumb_dummy): Call
deprecated_pc_in_call_dummy instead of
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_skip_prologue): Ditto.
* xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
(xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
* v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
(v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
Ditto.
* sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
(sh64_init_extra_frame_info, sh64_get_saved_register)
(sh64_pop_frame): Ditto.
* mips-tdep.c (non_heuristic_proc_desc): Ditto.
* mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
(mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
(h8300_pop_frame): Ditto.
* blockframe.c (legacy_inside_entry_func)
(legacy_frame_chain_valid): Ditto.
* frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
to deprecated_pc_in_call_dummy.

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

20 years agoInclude Makefile.*, not just Makefile.in, in the top-level policy.
Ben Elliston [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.

20 years agoUpdate with respect to DejaGnu and Expect.
Ben Elliston [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 21:26:48 +0000 (21:26 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
provide a default value.
(CONVERT_REGISTER_P): Default to generic_convert_register_p.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (generic_convert_register_p): Rename
legacy_convert_register_p
(legacy_register_to_value, legacy_value_to_register): Delete
functions.
* arch-utils.h (generic_convert_register_p): Rename
legacy_convert_register_p.
(legacy_register_to_value, legacy_value_to_register): Delete
declarations.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 20:42:29 +0000 (20:42 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
(DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
(DEPRECATED_REGISTER_CONVERTIBLE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Simplify.
* findvar.c (value_of_register): Simplify.
* mi/mi-main.c (get_register): Simplify.
* arch-utils.c (legacy_convert_register_p): Always return 0.
(legacy_register_to_value, legacy_value_to_register): Always call
internal_error.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 20:09:42 +0000 (20:09 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
#ifdef CLEAR_INSN_CACHE code.
* target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
Delete #ifdef CLEAR_DEFERRED_STORES code.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 20:03:33 +0000 (20:03 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:54:13 +0000 (19:54 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
copyright.
* config/ia64/tm-aix.h (TARGET_ELF64): Ditto.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:46:22 +0000 (19:46 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/mips/mipsv4.mh: Delete file.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 19:39:17 +0000 (19:39 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
unreferenced macro.
(hpread_adjust_stack_address): Delete declaration.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 17:27:57 +0000 (17:27 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 14:19:51 +0000 (14:19 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
fixed.

20 years ago* elflink.c (elf_sort_symbol): Compare section id, not pointers.
Alexandre Oliva [Wed, 9 Jun 2004 13:49:04 +0000 (13:49 +0000)]
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
(elf_link_add_object_symbols): Likewise.

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 13:41:06 +0000 (13:41 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known".  Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".

20 years ago2004-06-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 9 Jun 2004 13:33:54 +0000 (13:33 +0000)]
2004-06-09  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Native Debugging): Restore "@table @code"
deleted by previous patch.

20 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 9 Jun 2004 08:32:35 +0000 (08:32 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

20 years ago* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
Alexandre Oliva [Wed, 9 Jun 2004 08:31:28 +0000 (08:31 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): New.

20 years ago*** empty log message ***
gdbadmin [Wed, 9 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoopcodes/
Jakub Jelinek [Tue, 8 Jun 2004 20:40:59 +0000 (20:40 +0000)]
opcodes/
* ia64-gen.c (in_iclass): Handle more postinc st
and ld variants.
* ia64-asmtab.c: Rebuilt.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add some new postinc tests.
* gas/ia64/dv-raw-err.l: Updated.

20 years ago2004-06-08 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 8 Jun 2004 19:58:15 +0000 (19:58 +0000)]
2004-06-08  Andrew Cagney  <cagney@gnu.org>

* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
(attach, detach): When neither PT_ATTACH / PT_DETACH nor
PTRACE_ATTACH / PTRACE_DETACH available call error.
(PT_ATTACH, PT_DETACH): Move definition to attach / detach.
* infttrace.c (update_thread_state_after_attach, attach, detach):
Remove #ifdef wrappers.
* inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
* gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
* config/nm-bsd.h (ATTACH_DETACH): Delete.
* config/nm-sysv4.h (ATTACH_DETACH): Delete.
* config/nm-nbsd.h (ATTACH_DETACH): Delete.
* config/nm-linux.h (ATTACH_DETACH): Delete.
* config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
* config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.

Index: doc/ChangeLog
2004-06-08  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Native Debugging): Delete documentation on
ATTACH_DETACH.

20 years ago * configure.in: Set $configdir to the right OS specific value.
Corinna Vinschen [Tue, 8 Jun 2004 16:29:30 +0000 (16:29 +0000)]
* configure.in: Set $configdir to the right OS specific value.
Use value when setting $tcldir and $tkdir.
* configure: Regenerate.

20 years ago2004-06-08 Martin Hunt <hunt@redhat.com>
Martin Hunt [Tue, 8 Jun 2004 15:50:59 +0000 (15:50 +0000)]
2004-06-08  Martin Hunt  <hunt@redhat.com>

* gdb.base/float.exp: Add pattern for mips targets.

20 years ago * gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
Paul Brook [Tue, 8 Jun 2004 13:34:56 +0000 (13:34 +0000)]
* gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
records.

20 years ago2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
Paul N. Hilfinger [Tue, 8 Jun 2004 08:42:04 +0000 (08:42 +0000)]
2004-06-08  Paul N. Hilfinger  <Hilfinger@gnat.com>

* ada-lang.c (lookup_symbol_in_language): New function to allow
re-use of another language's symbol lookup code.  (Placed here
temporarily while Ada support is being integrated into the public
tree).
(restore_language): New auxiliary function for
lookup_symbol_in_language.
* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
temporarily while Ada support is being integrated into the public
tree).

20 years ago* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
Mark Kettenis [Tue, 8 Jun 2004 07:39:37 +0000 (07:39 +0000)]
* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.

20 years ago* Makefile.in (check//%): New.
Alexandre Oliva [Tue, 8 Jun 2004 05:32:51 +0000 (05:32 +0000)]
* Makefile.in (check//%): New.

20 years ago* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
Alexandre Oliva [Tue, 8 Jun 2004 05:29:10 +0000 (05:29 +0000)]
* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
(mn10300_store_return_value): Rewrite.
(mn10300_type_align): New.
(mn10300_use_struct_convention): Rewrite.
(mn10300_return_value): New, using all of the above.
(mn10300_pop_frame_regular): Add saved_regs_size.
(mn10300_gdbarch_init): Remove deprecated rewritten entry points.

20 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
Alexandre Oliva [Tue, 8 Jun 2004 05:27:32 +0000 (05:27 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
regs if PC is on movm.

20 years ago2004-06-08 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 8 Jun 2004 05:15:19 +0000 (05:15 +0000)]
2004-06-08  Randolph Chung  <tausq@debian.org>

* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.

20 years ago * gdb.ada/null_record.exp: Use "start" instead of "begin" to
Joel Brobecker [Tue, 8 Jun 2004 05:05:34 +0000 (05:05 +0000)]
    * gdb.ada/null_record.exp: Use "start" instead of "begin" to
        start the execution of the program.

20 years agodaily update
Alan Modra [Tue, 8 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update

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

20 years agoAdd native Linux support for the PowerPC E500.
Jim Blandy [Mon, 7 Jun 2004 23:37:20 +0000 (23:37 +0000)]
Add native Linux support for the PowerPC E500.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
all architectures except the E500.
* ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
#definitions.
(struct gdb_evrregset_t): New type.
(have_ptrace_getsetevrregs): New variable.
(get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
fetch_spe_registers): New functions.
(fetch_register): Call fetch_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(fetch_ppc_registers): Call fetch_spe_registers as appropriate.
Don't fetch gprs if they're pseudoregisters.
(set_spe_registers, write_spliced_spe_reg, store_spe_register,
store_spe_registers): New functions.
(store_register): Call store_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(store_ppc_registers): Call store_spe_registers as appropriate.
Don't store gprs if they're pseudoregisters.

20 years ago2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jun 2004 22:35:55 +0000 (22:35 +0000)]
2004-06-07  Jeff Johnston  <jjohnstn@redhat.com>

        * thread-db.c (thread_get_info_callback): Fill in the thread_info
        struct if one exists, even if we are dealing with a zombie thread.

20 years ago2004-06-07 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 7 Jun 2004 17:58:33 +0000 (17:58 +0000)]
2004-06-07  Andrew Cagney  <cagney@gnu.org>

* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
Rename PC_REQUIRES_RUN_BEFORE_USE.
* breakpoint.c (breakpoint_sals_to_pc): Update.  Wrap reference in
#ifdef.

20 years ago* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
Jim Blandy [Mon, 7 Jun 2004 15:38:52 +0000 (15:38 +0000)]
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
* gdb.arch/i386-cpuid.h: New helper file.

20 years ago From: Albert Chin-A-Young <china@thewrittenword.com>
Daniel Jacobowitz [Mon, 7 Jun 2004 15:29:53 +0000 (15:29 +0000)]
From:  Albert Chin-A-Young  <china@thewrittenword.com>
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
to unsigned int.

20 years ago2004-06-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 15:28:47 +0000 (15:28 +0000)]
2004-06-07  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
unwinding after sp has been saved to the stack but before the end
of the prologue, and after the fp has been modified but before it has
been saved to the stack.
(hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
Remove superfluous definitions.
(hppa_gdbarch_init): Remove superfluous frame base sniffer.

20 years ago2004-06-07 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 15:24:44 +0000 (15:24 +0000)]
2004-06-07  Randolph Chung  <tausq@debian.org>

* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.

20 years ago2004-06-07 Guy Martin <gmsoft@gentoo.org>
Randolph Chung [Mon, 7 Jun 2004 15:19:08 +0000 (15:19 +0000)]
2004-06-07  Guy Martin  <gmsoft@gentoo.org>

Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 04:31:11 +0000 (04:31 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* gdb.texinfo (push_dummy_call): Use @code{struct value}.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:19:07 +0000 (02:19 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
(proceed, init_wait_for_inferior, handle_inferior_event): Likewise.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:17:29 +0000 (02:17 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa_hpux_skip_trampoline_code): Don't cache symbol values.
* hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
* hppa-tdep.c (hppa_symbol_address): New function definition.
* hppa-tdep.h (hppa_symbol_address): New function declaration.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:12:59 +0000 (02:12 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* gdb.texinfo (push_dummy_call): Update argument list to match
the new push_dummy_call method signature.  Describe the function
argument.

20 years ago2004-06-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 7 Jun 2004 02:08:07 +0000 (02:08 +0000)]
2004-06-06  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.