binutils-gdb.git
20 years agoApply m32r patches from Renesas
Nick Clifton [Mon, 23 Feb 2004 16:46:46 +0000 (16:46 +0000)]
Apply m32r patches from Renesas

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 16:35:54 +0000 (16:35 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_frame_align): New function.
(hppa32_push_dummy_call): New function.
(hppa64_push_dummy_call): New function.
(hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
disabled.

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 16:27:40 +0000 (16:27 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* infcall.c (legacy_push_dummy_code): Don't call deprecated
FIX_CALL_DUMMY when push_dummy_call is available.
(call_function_by_hand, push_dummy_code): Ditto.

20 years agoMissed adding ChangeLog entry and updating copyright year in a previous
Fred Fish [Mon, 23 Feb 2004 16:18:09 +0000 (16:18 +0000)]
Missed adding ChangeLog entry and updating copyright year in a previous
check in of callfuncs.exp.

2004-02-20  Fred Fish  <fnf@redhat.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
blank in test for "returns short", for consistency with other
"returns xxx" tests.  Update copyright year.

20 years agoAdd support for 64bit NETBSD cores
Nick Clifton [Mon, 23 Feb 2004 15:25:20 +0000 (15:25 +0000)]
Add support for 64bit NETBSD cores

20 years ago * ldlang.h (struct lang_output_section_state): Change processed
Nathan Sidwell [Mon, 23 Feb 2004 10:10:02 +0000 (10:10 +0000)]
* ldlang.h (struct lang_output_section_state): Change processed
field's type.
* ldexp.c (check, invalid): Remove.
(fold_name): Move valid_p assignments. Create undefined symbol
when needed. Directly exampine section's processd flag.
* ldlang.c (lang_output_section_statement_lookup): Adjust
processed field init.
(lang_size_sections_1): Allow LOADADDR when determining section's
VMA. Adjust error message. Fold data statement's expr.
(lang_size_sections): Correctly increment lang_statement_iteration.

* ld-scripts/provide.exp: New.
* ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New.

* ldexp.c (fold_tree): Follow indirect symbols.

20 years ago * ld-scripts/data.t: Set ".other" address so location doesn't
Alan Modra [Mon, 23 Feb 2004 09:24:46 +0000 (09:24 +0000)]
* ld-scripts/data.t: Set ".other" address so location doesn't
depend on target alignment.
* ld-scripts/data.d: Update.

20 years ago * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
Jakub Jelinek [Mon, 23 Feb 2004 09:01:58 +0000 (09:01 +0000)]
* elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.

20 years ago(process_mips_specific): Print conflictsno as an unsigned long.
Nick Clifton [Mon, 23 Feb 2004 08:45:05 +0000 (08:45 +0000)]
(process_mips_specific): Print conflictsno as an unsigned long.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 00:06:40 +0000 (00:06 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
(DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
(DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
call_dummy_location to ON_STACK.

20 years ago*** empty log message ***
gdbadmin [Mon, 23 Feb 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 22 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* x86-64-linux-tdep.c: Tweak comment.
Mark Kettenis [Sun, 22 Feb 2004 20:29:48 +0000 (20:29 +0000)]
* x86-64-linux-tdep.c: Tweak comment.
(amd64_linux_supply_gregset): Renamed from
x86_64_linux_supply_gresget.
(amd64_linux_fill_gregset): Renamed from
x86_64_linux_fill_gregset.
(fetch_core_registers): Adjust for renamed functions.
(amd64_core_fns): Renamed from x86_64_core_fns.
(amd64_linux_sigtramp_start): Renamed from
x86_64_linux_sigtramp_start.
(amd64_linux_pc_in_sigtramp): Renamed from
x86_64_linux_pc_in_sigtramp.  Adjust for renamed functions.
(AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
(amd64_linux_sigcontext_addr): Renamed from
x86_64_linux_sigcontext_addr.
(amd64_linux_sc_reg_offset): Renamed from
x86_64_linux_sc_reg_offset.
(amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
Adjust for renamed functions and variables.
(_initialize_amd64_linux_tdep): Renamed from
_initialize_x86_64_linux_tdep.  Adjust for renamed functions and
variables.
* x86-64-linux-tdep.h: Update copyright year.  Tweak comment.
Adjust for renamed functions.

20 years ago* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
Mark Kettenis [Sun, 22 Feb 2004 20:19:41 +0000 (20:19 +0000)]
* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
from x86_64_linux_gregset64_reg_offset.
(amd64_linux_gregset32_reg_offset): Rename from
x86_64_linux_gregset64_reg_offset.
(amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
(amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
(amd64_linux_dr_set_control): Renamed from
x86_64_linux_dr_set_control.  Adjust for renamed functions.
(amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
Adjust for renamed functions.
(amd64_linux_dr_reset_addr): Renamed from
x86_64_linux_dr_reset_addr. Adjust for renamed functions.
(amd64_linux_dr_get_status): Renamed from
x86_64_linux_dr_get_status.  Adjust for renamed functions.
(_initialize_amd64_linux_nat): Renamed from
_initialize_x86_64_linux_nat.  Adjust for renamed variables and
functions.
* config/i386/nm-x86-64linux.h: Update copyright year.
Adjust for renamed functions.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 19:22:37 +0000 (19:22 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa32_return_value): New function.
(hppa64_return_value): New function.
(hppa_gdbarch_init): Set return_value; keep disabled.

20 years ago* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
Mark Kettenis [Sun, 22 Feb 2004 19:14:55 +0000 (19:14 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.
(amd64fbsd_init_abi): Adjust for renamed variables.
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
variables.
* x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:58:10 +0000 (17:58 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Re-order separating
struct-return and inferior function call methods.

20 years agoIndex: ChangeLog
Andrew Cagney [Sun, 22 Feb 2004 17:34:17 +0000 (17:34 +0000)]
Index: ChangeLog
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
"frame-base.h".
(struct hppa_frame_cache): Define.
(hppa_frame_cache, hppa_frame_this_id): New functions.
(hppa_frame_prev_register): New function.
(hppa_frame_unwind, hppa_frame_base): New variables.
(hppa_frame_unwind_sniffer): New function.
(hppa_frame_base_address, hppa_unwind_pc): New function.
(hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
sniffer, and frame base sniffer; keep disabled.
(hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
* Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:08:42 +0000 (17:08 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
to predicates for "seriously old code".

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:01:04 +0000 (17:01 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
runtime if(0).

20 years agoFix previous commit:
Mark Kettenis [Sun, 22 Feb 2004 16:56:34 +0000 (16:56 +0000)]
Fix previous commit:
Remove old 386BSD support.
* NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
(i386b-nat.o): Remove dependencies.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 16:55:03 +0000 (16:55 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
unsigned.
(hppa_frame_find_saved_regs): Fix "std" instruction pattern

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 16:51:37 +0000 (16:51 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h: Update copyright.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
(deprecated_init_frame_pc_default): Delete declaration.
(hppa_frame_init_saved_regs): Delete declaration.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
* hppa-tdep.c: Include "arch-utils.h".
(hppa_gdbarch_init): Set deprecated init_frame_pc
and deprecated frame_init_saved_regs.
(hppa_frame_init_saved_regs): Make static.

20 years agoRemove old 386BSD support.
Mark Kettenis [Sun, 22 Feb 2004 16:48:24 +0000 (16:48 +0000)]
Remove old 386BSD support.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
* config/i386/i386bsd.mh: Removed.
* config/i386/i386bsd.mt: Removed.
* config/i386/nm-i386bsd.h: Removed.
* config/i386/tm-i386bsd.h: Removed.
* config/i386/xm-i386bsd.h: Removed.

20 years ago* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
Mark Kettenis [Sun, 22 Feb 2004 16:30:04 +0000 (16:30 +0000)]
* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.

20 years ago* amd64fbsd-tdep.c: Include "solib-svr4.h".
Mark Kettenis [Sun, 22 Feb 2004 16:20:22 +0000 (16:20 +0000)]
* amd64fbsd-tdep.c: Include "solib-svr4.h".
(amd64fbsd_init_abi): Set link map offsets.
* amd64nbsd-tdep.c: Include "slib-svr4.h".
(amd64nbsd_init_abi): Set link map offsets.
* amd64obsd-tdep.c: Include "solib-svr4.h".
(amd64obsd_init_abi): Set link map offsets.
* i386fbsd-tdep.c: Include "solib-svr4.h".
(i386fbsd_init_abi): Set link map offsets.
* i386nbsd-tdep.c: Include "solib-svr4.h".
(i386nbsdelf_init_abi): Set link map offsets.
* Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
(amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
* config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
solib-legacy.o and core-aout.o. Reformat.
* config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o.  Reformat.
* config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o.  Reformat.
* config/i386/nbsdelf.mh: Reformat.
* config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.
* config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
* config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, solib-legacy.o and corelow.o.  Reformat.
* config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
* config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
(TM_FILE): Set to tm-fbsd.h.
* config/i386/nbsd.mt (TDEPFILES): Reformat.
* config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
* config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
solib-svr4.o.
(TM_FILE): Set to nm-nbsd.h.
* config/i386/nm-fbsd.h: Update copyright year.  Tweak comments.
Simplify shared library support.  Don't include "elf/common.h".
(SVR4_SHARED_LIBS): Don't define.
* config/i386/nm-fbsd64.h: Update copyright year.  Don't include
"solib.h".
* config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
config/i386/nm-obsd.h: Update copyright year.  Tweak comments.
* config/i386/tm-fbsd.h: Update copyright tear.  Tweak comments.
Don't include "i386/tm-i386.h".  Include "solib.h".
* config/i386/tm-nbsd.h: Update copyright year.  Tweak comments.
Don't include "i386/tm-i386.h".
* config/i386/xm-i386.h: Update copyright year.  Tweak comments.
* config/i386/xm-nbsd.h: Update copyright year.  Tweak comments.
Include "i386/xm-i386.h".
(HOST_LONG_DOUBLE_FORMAT): Remove.

20 years ago* configure.in: Run stabs tests on *BSD.
Mark Kettenis [Sun, 22 Feb 2004 12:58:01 +0000 (12:58 +0000)]
* configure.in: Run stabs tests on *BSD.
* configure: Regenerated.

20 years agoFix OpenBSD/i386 sigtramp recognition.
Mark Kettenis [Sun, 22 Feb 2004 11:19:15 +0000 (11:19 +0000)]
Fix OpenBSD/i386 sigtramp recognition.
* i386-tdep.h: Update copyright year.
(i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
(i386bsd_sigtramp_end): New prototypes.
(i386fbsd_sigtramp_start_addr): Renamed from
i386fbsd_sigtramp_start.
(i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
(i386obsd_sigtramp_start_addr): Renamed from
i386obsd_sigtramp_start.
(i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
* i386bsd-tdep.c: Update copyright year.
(i386bsd_pc_in_sigtramp): Make public.
* i386fbsd-nat.c: Update copyright year.
(_initialize_i386fbsd_nat): Adjust for renamed variables.
* i386fbsd-tdep.c: Update copyright year.
(i386fbsd_sigtramp_start_addr): Renamed from
i386fbsd_sigtramp_start.
(i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
(i386fbsdaout_init_abi): Adjust for renamed variables.
* i386obsd-nat.c: Update copyright year.
(_initialize_i386obsd_nat): Adjust for renamed variables.
* i386obsd-tdep.c: Include "target.h".
(i386obsd_page_size): New variable.
(i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
(i386obsd_sigtramp_end): New functions.
(i386obsd_sigtramp_start_addr): Renamed from
i386obsd_sigtramp_start.
(i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
(i386obsd_init_abi): Adjust for renamed variables.  Set
pc_in_sigtramp, sigtramp_start and sigtramp_end.
* Makefile.in (i386obsd-tdep.o): Update dependencies.

20 years ago* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
Mark Kettenis [Sun, 22 Feb 2004 00:11:29 +0000 (00:11 +0000)]
* amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
trampoline change in OpenBSD kernel.

20 years ago*** empty log message ***
gdbadmin [Sun, 22 Feb 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* amd64-nat.c: Update copyright year.
Mark Kettenis [Sat, 21 Feb 2004 23:50:40 +0000 (23:50 +0000)]
* amd64-nat.c: Update copyright year.
(amd64_supply_native_gregset, amd64_collect_native_gregset): Use
architecture from REGCACHE.

20 years ago* x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
Mark Kettenis [Sat, 21 Feb 2004 23:45:36 +0000 (23:45 +0000)]
* x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
symbolic constants from <sys/reg.h> instead of hard-coded numbers.

20 years ago2004-02-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 21 Feb 2004 23:05:13 +0000 (23:05 +0000)]
2004-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Properly handle undefined
symbols with non-default visibility.

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

20 years ago* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
Christopher Faylor [Sat, 21 Feb 2004 21:28:22 +0000 (21:28 +0000)]
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.

20 years ago* configure.host: Add i[34567]86-*-openbsd[0-2].* and
Mark Kettenis [Sat, 21 Feb 2004 21:22:13 +0000 (21:22 +0000)]
* configure.host: Add i[34567]86-*-openbsd[0-2].* and
i[34567]86-*-openbsd3.[0-3].
* config/i386/obsdaout.mh: New file.

20 years ago* config/i386/obsd.mh (MH_FLAGS): Remove.
Mark Kettenis [Sat, 21 Feb 2004 21:12:25 +0000 (21:12 +0000)]
* config/i386/obsd.mh (MH_FLAGS): Remove.

20 years agoFix PR build/1549.
Mark Kettenis [Sat, 21 Feb 2004 19:11:38 +0000 (19:11 +0000)]
Fix PR build/1549.
* i386obsd-tdep.c: Update copyright years.  Include
"solib-svr4.h".
(i386obsd_init_abi): Don't set regset_from_core_section here.
(i386obsd_aout_init_abi): New function.  Set
regset_from_core_section here.
(i386obsd_elf_init_abi): New function.
(_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
* Makefile.in (i386obsd-tdep.o): Update dependecies.
* config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
(TM_FILE): Set to tm-nbsd.h.

* config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
solib-sunos.o.

20 years ago* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
Mark Kettenis [Sat, 21 Feb 2004 18:43:58 +0000 (18:43 +0000)]
* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.

20 years ago* solib-svr4.h: Update copyright year.
Mark Kettenis [Sat, 21 Feb 2004 18:34:45 +0000 (18:34 +0000)]
* solib-svr4.h: Update copyright year.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): New prototype.
* solib-svr4.c: Update copyright year.
(svr4_ilp32_fetch_link_map_offsets)
(svr4_lp64_fetch_link_map_offsets): New function.

20 years ago * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
Danny Smith [Sat, 21 Feb 2004 06:16:02 +0000 (06:16 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
IMAGE_SCN_MEM_WRITE on known sections only.

20 years ago * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
Daniel Jacobowitz [Sat, 21 Feb 2004 02:13:35 +0000 (02:13 +0000)]
* dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
to the partial symbol table.

20 years agoFix unwind info problems with .align.
Jim Wilson [Sat, 21 Feb 2004 00:24:15 +0000 (00:24 +0000)]
Fix unwind info problems with .align.
* config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
finalize_syms.
(fixup_unw_records): New arg before_relax.  Pass to slot_index.
(ia64_estimate_size_before_relax): New.
(ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
(generate_unwind_image): Pass 1 to fixup_unw_records.
* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.

20 years ago*** empty log message ***
gdbadmin [Sat, 21 Feb 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 20 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * PROBLEMS: Add description of problem documented under gdb/1560.
Joel Brobecker [Fri, 20 Feb 2004 21:43:38 +0000 (21:43 +0000)]
   * PROBLEMS: Add description of problem documented under gdb/1560.

20 years ago* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
Mark Kettenis [Fri, 20 Feb 2004 19:03:14 +0000 (19:03 +0000)]
* amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h".  Fix
comments.
(amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
functions.
(amd64obsd_init_abi): Reorder initializations.  Use
amd64obsd_r_reg_offset to initialize the general-purpose register
set details.  Set regset_from_core_section.
(_initialize_amd64obsd_tdep): Rename from
_initialize_amd64obsd_ndep.  Add OS ABI handler for core dumps.
* Makefile.in (amd64obsd-tdep.o): Update dependencies.
* config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.

20 years ago* NEWS (New native configurations): Mention OpenBSD/alpha.
Mark Kettenis [Fri, 20 Feb 2004 18:46:34 +0000 (18:46 +0000)]
* NEWS (New native configurations): Mention OpenBSD/alpha.
* configure.tgt: Add alpha*-*-openbsd*.
* configure.host: Add alpha*-*-openbsd*.
* alphanbsd-tdep.c: Update copyright year.
(_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.

20 years ago2004-02-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 20 Feb 2004 18:13:18 +0000 (18:13 +0000)]
2004-02-20  Andrew Cagney  <cagney@redhat.com>

Fix PR tdep/1372.
* configure.tgt: Delete target "none-*-*".
* configure.host: Delete host "none-*-*".
* config/none/none.mh: Delete file.
* config/none/none.mt: Delete file.
* config/none/xm-none.h: Delete file.
* config/none/tm-none.h: Delete file.
* config/none/nm-none.h: Delete file.

20 years ago * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
Jakub Jelinek [Fri, 20 Feb 2004 17:36:36 +0000 (17:36 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
symbols used in PIE relocs.

20 years ago2004-02-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 20 Feb 2004 16:26:45 +0000 (16:26 +0000)]
2004-02-20  Andrew Cagney  <cagney@redhat.com>

* m32r.opc, m32r.cpu: New files.  Written by , Doug Evans, Nick
Clifton, Ben Elliston, Matthew Green, and Andrew Haley.

20 years ago2004-02-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 20 Feb 2004 16:23:01 +0000 (16:23 +0000)]
2004-02-20  Andrew Cagney  <cagney@redhat.com>

* sh.cpu, sh.opc, sh64-compact.cpu, sh64-media.cpu: New files, all
written by Ben Elliston.

20 years ago * ldgram.y (exp): Add two operand ALIGN.
Nathan Sidwell [Fri, 20 Feb 2004 15:31:10 +0000 (15:31 +0000)]
* ldgram.y (exp): Add two operand ALIGN.
* ldexp.c (fold_binary): Add ALIGN_K case.
* ld.texinfo (ALIGN): Document two operand version.
* ld-scripts/align.{s,t,exp}: New.

20 years ago * binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT
Nathan Sidwell [Fri, 20 Feb 2004 15:21:54 +0000 (15:21 +0000)]
* binutils-all/objcopy.exp: Reorder arguments for POSIXLY_CORRECT
systems.p

20 years agoRemove extraneous blank character
Fred Fish [Fri, 20 Feb 2004 06:47:33 +0000 (06:47 +0000)]
Remove extraneous blank character

20 years ago2004-02-20 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 20 Feb 2004 05:10:13 +0000 (05:10 +0000)]
2004-02-20  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (powerpc_opcodes): Move mfmcsrr0 before mfdc_dat.

20 years ago2004-02-20 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 20 Feb 2004 04:56:34 +0000 (04:56 +0000)]
2004-02-20  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (powerpc_opcodes): Add m*ivor35.

20 years ago * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34,
Aldy Hernandez [Fri, 20 Feb 2004 04:45:37 +0000 (04:45 +0000)]
    * ppc-opc.c (powerpc_opcodes): Add mfivor32, mfivor33, mfivor34,
        mtivor32, mtivor33, mtivor34.

20 years ago PR bootstrap/11932
Nathanael Nerode [Fri, 20 Feb 2004 02:05:00 +0000 (02:05 +0000)]
PR bootstrap/11932
* mkinstalldirs, install-sh: Import from automake CVS HEAD.

20 years ago2004-02-19 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 20 Feb 2004 00:17:23 +0000 (00:17 +0000)]
2004-02-19  Aldy Hernandez  <aldyh@redhat.com>

        * ppc-opc.c: Add mfmcar.

20 years agoReviewed and approved by ezannoni@redhat.com
Fred Fish [Fri, 20 Feb 2004 00:16:16 +0000 (00:16 +0000)]
Reviewed and approved by ezannoni@redhat.com

2004-02-19  Fred Fish  <fnf@redhat.com>
* sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
cache->uses_fp prior to setting it.

20 years ago*** empty log message ***
gdbadmin [Fri, 20 Feb 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoReviewed and approved by ezannoni@redhat.com
Fred Fish [Thu, 19 Feb 2004 23:05:07 +0000 (23:05 +0000)]
Reviewed and approved by ezannoni@redhat.com

2004-02-19  Fred Fish  <fnf@redhat.com>
Fix for PR breakpoint/1558.
* sh-tdep.c (IS_JSR): New macro.
(sh_analyze_prologue): Use IS_JSR to terminate prologue scan.

20 years agodaily update
Alan Modra [Thu, 19 Feb 2004 23:00:12 +0000 (23:00 +0000)]
daily update

20 years agoTestcase suggested by ezannoni@redhat.com.
Fred Fish [Thu, 19 Feb 2004 22:55:50 +0000 (22:55 +0000)]
Testcase suggested by ezannoni@redhat.com.

2004-02-19  Fred Fish  <fnf@redhat.com>
New testcase for PR breakpoint/1558.
* gdb.arch/gdb1558.exp: New file.
* gdb.arch/gdb1558.c: New file.

20 years ago* findvar.c (value_from_register): Doc fix.
Jim Blandy [Thu, 19 Feb 2004 22:45:31 +0000 (22:45 +0000)]
* findvar.c (value_from_register): Doc fix.

20 years ago2004-02-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 19 Feb 2004 22:43:03 +0000 (22:43 +0000)]
2004-02-19  Jeff Johnston  <jjohnstn@redhat.com>

        * printcmd.c (print_scalar_formatted): Do not check for sizeof
        type being greater than sizeof of host's LONGEST.  Always use
        unpack_long() unless format 'f' chosen.

20 years ago2004-02-19 Joel Brobecker <brobecker@gnat.com>
Elena Zannoni [Thu, 19 Feb 2004 19:01:26 +0000 (19:01 +0000)]
2004-02-19  Joel Brobecker  <brobecker@gnat.com>

Committed by Elena Zannoni  <ezannoni@redhat.com>
* symtab.c (find_pc_sect_psymtab): Return the psymtab that
contains a symbol wich is the best, non-exact match for the given
pc.  Update comments.

20 years agogas/
Jakub Jelinek [Thu, 19 Feb 2004 17:15:28 +0000 (17:15 +0000)]
gas/
* stabs.c (generate_asm_file): Avoid warning about use of
uninitialized variable.
binutils/
* objcopy.c (copy_section): Avoid warnings.

20 years ago2004-02-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 19 Feb 2004 16:48:43 +0000 (16:48 +0000)]
2004-02-19  Elena Zannoni  <ezannoni@redhat.com>

       * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
       macro, which was part of the now removed Mach 3 port.
       * utils.c (request_quit): Ditto.

20 years ago2004-02-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 19 Feb 2004 16:43:19 +0000 (16:43 +0000)]
2004-02-19  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/nodebug.exp: Fix typo.

20 years agoIndex: ChangeLog
Andrew Cagney [Thu, 19 Feb 2004 14:55:26 +0000 (14:55 +0000)]
Index: ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

* config.guess: Update from version 2003-06-12 to 2004-02-16.
* config.sub: Update from version 2003-06-13 to 2004-02-16.

Index: dejagnu/ChangeLog
2004-02-19  Andrew Cagney  <cagney@redhat.com>

* config.guess: Update from version 2003-06-12 to 2004-02-16.
* config.sub: Update from version 2003-06-13 to 2004-02-16.

Index: readline/ChangeLog.gdb
2004-02-19  Andrew Cagney  <cagney@redhat.com>

* config.guess: Update from version 2003-06-12 to 2004-02-16.
* config.sub: Update from version 2003-06-13 to 2004-02-16.

20 years ago * ldlang.c (map_input_to_output_sections): Initialize sections
Nathan Sidwell [Thu, 19 Feb 2004 14:08:31 +0000 (14:08 +0000)]
* ldlang.c (map_input_to_output_sections): Initialize sections
mentioned in a data statement expression.
(lang_do_assignments_1): Add data statement's expression's
section's vma.
* ld-scripts/data.{s,t,d,exp}: New.

20 years ago * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
Jakub Jelinek [Thu, 19 Feb 2004 11:01:39 +0000 (11:01 +0000)]
* elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
.plt sh_entsize.

20 years agoYet another fix for -falign-loops problems.
Jim Wilson [Thu, 19 Feb 2004 01:24:29 +0000 (01:24 +0000)]
Yet another fix for -falign-loops problems.
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
body, and endp, allow unwind records which do not have a "t"
(time/instruction) field.

20 years ago*** empty log message ***
gdbadmin [Thu, 19 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 18 Feb 2004 23:00:22 +0000 (23:00 +0000)]
daily update

20 years ago* config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
Mark Kettenis [Wed, 18 Feb 2004 20:15:10 +0000 (20:15 +0000)]
* config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and

20 years agoCommitted by Mark Kettenis <kettenis@gnu.org>.
Mark Kettenis [Wed, 18 Feb 2004 20:09:48 +0000 (20:09 +0000)]
Committed by Mark Kettenis  <kettenis@gnu.org>.

* config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
Define.

20 years ago2004-02-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 18 Feb 2004 19:01:36 +0000 (19:01 +0000)]
2004-02-18  Andrew Cagney  <cagney@redhat.com>

* configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
CONFIG_INSTALL and CONFIG_UNINSTALL.
* configure: Re-generate.
* interps.h (INTERP_TUI): Define.
* Makefile.in: Update dependencies.
(TUI): New macro.
(tui-main.o): Specify dependencies.
(install-tui, uninstall-tui, clean-tui, all-tui): New rules.
* tui/tui-main.c: New file.

20 years ago* amd64obsd-tdep.c, amd64obsd-nat.c: New files.
Mark Kettenis [Wed, 18 Feb 2004 17:44:52 +0000 (17:44 +0000)]
* amd64obsd-tdep.c, amd64obsd-nat.c: New files.
* Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
dependencies.
* configure.host: Add x86_64-*-openbsd*.
* configure.tgt: Add x86_64-*-openbsd*.
* config/i386/obsd64.mt, config/i386/obsd64.mh: New files.

20 years ago* tui/tui.c: Don't include <malloc.h>.
Mark Kettenis [Wed, 18 Feb 2004 17:24:36 +0000 (17:24 +0000)]
* tui/tui.c: Don't include <malloc.h>.

20 years ago * configure.in: Update version to 2.15.90.
Daniel Jacobowitz [Wed, 18 Feb 2004 17:17:17 +0000 (17:17 +0000)]
* configure.in: Update version to 2.15.90.
* configure: Regenerate.

20 years ago* Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
Mark Kettenis [Wed, 18 Feb 2004 17:16:46 +0000 (17:16 +0000)]
* Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
amd64nbsd-tdep.c.

20 years ago* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
Mark Kettenis [Wed, 18 Feb 2004 17:04:36 +0000 (17:04 +0000)]
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
static.  Remove extraneous whitespace.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
static.

20 years ago * ldgram.y (statement_anywhere): Add assert rule.
Nathan Sidwell [Wed, 18 Feb 2004 16:37:21 +0000 (16:37 +0000)]
* ldgram.y (statement_anywhere): Add assert rule.
* ldlang.c (exp_init_os): Add assert case.
* testsuite/ld-scripts/assert.{s,t,exp}: New.

20 years agoApply fixes for Maverick Crunch
Nick Clifton [Wed, 18 Feb 2004 16:28:18 +0000 (16:28 +0000)]
Apply fixes for Maverick Crunch

20 years agoDon't use wildcards in ChangeLog entries.
Jim Blandy [Wed, 18 Feb 2004 04:31:32 +0000 (04:31 +0000)]
Don't use wildcards in ChangeLog entries.

20 years ago* findvar.c (value_from_register): Doc fix.
Jim Blandy [Wed, 18 Feb 2004 04:26:09 +0000 (04:26 +0000)]
* findvar.c (value_from_register): Doc fix.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:22:35 +0000 (04:22 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
CORE_ADDR as type for selectors.  Correct types for GNU run time
message lookup function to use double indirection.
* objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
* objc-lang.h (lookup_child_selector): Adapt prototype.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:22:02 +0000 (04:22 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:17:35 +0000 (04:17 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* s390-nat.c (SUBOFF): New macro.
(supply_gregset, fill_gregset): Use it to handle debugging
of 32-bit exectuables running under a 64-bit kernel.
* s390-tdep.c: Include "solib-svr4.h".
(s390_svr4_fetch_link_map_offset): New function.
(s390x_svr_fetch_link_map_offset): Likewise.
(s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
* Makefile.in (s390-tdep.o): Update dependencies.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:15:46 +0000 (04:15 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:13:43 +0000 (04:13 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* gdb.base/float.exp: Support s390*-*-* targets.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:11:01 +0000 (04:11 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* linux-s390-low.c (s390_num_regs): Update.
(s390_regmap): Remove control registers.  Use __s390x__ predefine
instead of GPR_SIZE to distiguish s390 and s390x targets.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:07:48 +0000 (04:07 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
"frame-unwind.h".
(s390_readinstruction): Reformat.  Use read_memory_nobpt.
(GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
(S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
(S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
S390_SIGNAL_FRAMESIZE,
s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
(struct frame_extra_info): Remove.
(s390_memset_extra_info): Remove.
(op_*, op1_*, op2_* enums): Add several new opcodes.
(is_rse): Renamed to ...
(is_rsy): ... this.  Support long displacements.
(is_rxe): Renamed to ...
(is_rxy): ... this.  Support long displacements.
(compute_x_addr): Support long displacements.
(struct s390_prologue_data): New data type.
(s390_on_stack): Change API to use struct s390_prologue_data.
(s390_store): Reimplement.
(s390_load): New function.
(s390_get_signal_frame_info): Remove.
(s390_get_frame_info): Remove, replace by ...
(s390_analyze_prolog): ... this new function.
(s390_check_function_end): Remove.
(s390_function_start): Remove.
(s390_frameless_function_invokation): Remove.
(s390_is_sigreturn): Remove.
(s390_init_frame_pc_first): Remove.
(s390_init_frame_extra_info): Remove.
(s390_frame_init_saved_regs): Remove.
(s390_frame_saved_pc_nofix): Remove.
(s390_frame_saved_pc): Remove.
(s390_frame_chain): Remove.
(s390_fp_regnum, s390_read_fp): Remove.
(s390_pop_frame_regular, s390_pop_frame): Remove.
(s390_saved_pc_after_call): Remove.
(s390_skip_prologue): Reimplement.
(s390_in_function_epilogue_p): Support long displacements.
(struct s390_unwind_cache): New data structure.
(s390_frame_unwind_cache): New function.
(s390_prologue_frame_unwind_cache): Likewise.
(s390_backchain_frame_unwind_cache): Likewise.
(s390_frame_this_id, s390_frame_prev_register): Likewise.
(s390_frame_unwind): Define.
(s390_frame_sniffer): New function.
(struct s390_pltstub_unwind_cache): New data structure.
(s390_pltstub_frame_unwind_cache): New function.
(s390_pltstub_frame_this_id): Likewise.
(s390_pltstub_frame_prev_register): Likewise.
(s390_pltstub_frame_unwind): Define.
(s390_pltstub_frame_sniffer): New function.
(struct s390_sigtramp_unwind_cache): New data structure.
(s390_sigtramp_frame_unwind_cache): New function.
(s390_sigtramp_frame_this_id): Likewise.
(s390_sigtramp_frame_prev_register): Likewise.
(s390_sigtramp_frame_unwind): Define.
(s390_sigtramp_frame_sniffer): New function.
(s390_frame_base_address, s390_local_base_address): New functions.
(s390_frame_base): Define.
(s390_unwind_pc, s390_unwind_sp): New function.
(s390_push_dummy_call): Use new frame base location.
(s390_unwind_dummy_id): Likewise.
(s390_gdbarch_init): Remove calls to:
set_gdbarch_frameless_function_invocation,
set_gdbarch_deprecated_init_frame_pc,
set_gdbarch_deprecated_frame_chain,
set_gdbarch_deprecated_frame_init_saved_regs,
set_gdbarch_deprecated_pop_frame,
set_gdbarch_deprecated_init_extra_frame_info,
set_gdbarch_deprecated_init_frame_pc_first,
set_gdbarch_deprecated_target_read_fp,
set_gdbarch_deprecated_frame_saved_pc,
set_gdbarch_deprecated_saved_pc_after_call,
set_gdbarch_deprecated_fp_regnum.
Add calls to:
set_gdbarch_in_solib_call_trampoline,
frame_unwind_append_sniffer,
frame_base_set_default,
set_gdbarch_unwind_pc,
set_gdbarch_unwind_sp.
* Makefile.in (s390-tdep.o): Update dependencies.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:54:11 +0000 (03:54 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
(S390_STACK_FRAME_OVERHEAD): Remove.
(S390_STACK_PARAMETER_ALIGNMENT): Remove.
(S390_NUM_FP_PARAMETER_REGISTERS): Remove.
(s390_promote_integer_argument): Remove.
(s390_cannot_extract_struct_value_address): Remove.
(s390_use_struct_convention, s390_store_struct_return): Remove.
(s390_extract_return_value, s390_store_return_value): Remove.
(s390_return_value_convention, s390_return_value): New functions.
(is_float_singleton): Handle typedefs.
(is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
Remove, replace by ...
(s390_function_arg_pass_by_reference, s390_function_arg_float,
s390_function_arg_integer): ... these new functions.
(s390_push_arguments, s390_push_return_address): Remove, replace by ...
(s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
(s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
Fill in tdep->abi.
Remove calls to:
set_gdbarch_deprecated_store_struct_return,
set_gdbarch_deprecated_extract_return_value,
set_gdbarch_deprecated_store_return_value,
set_gdbarch_use_struct_convention,
set_gdbarch_extract_struct_value_address,
set_gdbarch_deprecated_pc_in_call_dummy,
set_gdbarch_deprecated_push_arguments,
set_gdbarch_deprecated_save_dummy_frame_tos,
set_gdbarch_deprecated_push_return_address,
set_gdbarch_deprecated_sizeof_call_dummy_words,
set_gdbarch_deprecated_call_dummy_words,
set_gdbarch_deprecated_dummy_write_sp.
Add calls to:
set_gdbarch_push_dummy_call,
set_gdbarch_unwind_dummy_id,
set_gdbarch_return_value.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:47:35 +0000 (03:47 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* config/s390/nm-linux.h: Update comments.
(target_insert_watchpoint, target_remove_watchpoint): Redefine.
(STOPPED_BY_WATCHPOINT): Redefine.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
(s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
(s390_stopped_by_watchpoint): Likewise.
(watch_area_cnt): Remove.
* s390-nat.c: Update comments.
(watch_area): Remove typedef.
Global replace watch_area by struct watch_area.
(watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
(s390_stopped_by_watchpoint): Remove pid argument,
use s390_inferior_tid.  Add short-cut for the no watchpoint case.
(s390_fix_watch_points): Remove pid argument,
use s390_inferior_tid.  Recompute area spanned by watchpoints.
(s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
argument.  Reimplement.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:42:51 +0000 (03:42 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.
* config/s390/nm-linux.h: Update comments.  Do not include "solib.h".
(KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
(FETCH_INFERIOR_REGISTERS): Define.
* config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
core-regset.o.
* config/s390/s390x.mt: Remove.
* config/s390/tm-s390.h: Remove.
* config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
(TARGET_ELF64): Remove.
(SKIP_TRAMPOLINE_CODE): Do not undefine.
* configure.tgt [s390-*-*, s390x-*-*]: Merge into single
s390*-*-* case; always set gdb_target to s390.
* regformats/reg-s390.dat: Remove control registers.
* regformats/reg-s390x.dat: Likewise.
* s390-tdep.h: New file.
* s390-nat.c: Do not include <asm/processor.h> or <value.h>.
Include "inferior.h" and "s390-tdep.h".
Remove private definition of offsetof.
(s390_register_u_addr): Remove.
(regmap_gregset, regmap_fpregset): Define.
(supply_gregset, fill_gregset): Reimplement.
(supply_fpregset, fill_fpregset): Likewise.
(s390_inferior_tid): New function.
(fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
(fetch_inferior_registers, store_inferior_registers): Likewise.
* s390-tdep.c: Do not define S390_TDEP.  Include "defs.h" instead
of <defs.h>.  Include "reggroups.h", "regset.h", and "s390-tdep.h".
Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
(struct gdbarch_tdep): Define.
(struct s390_register_info): Define.
(s390_register_info): New variable.
(s390_register_name): Reimplement.
(s390_register_type): New function.
(s390_register_raw_size, s390x_register_raw_size): Remove.
(s390_cannot_fetch_register): Remove.
(s390_register_byte): Remove.
(s390_register_virtual_type, s390x_register_virtual_type): Remove.
(s390_dwarf_regmap): New variable.
(s390_dwarf_reg_to_regnum): New function.
(s390_stab_reg_to_regnum): Remove.
(s390_pseudo_register_read, s390_pseudo_register_write): New functions.
(s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
(s390_convert_register_p): Likewise.
(s390_register_to_value, s390_value_to_register): Likewise.
(s390_register_reggroup_p): Likewise.
(s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
s390_gregset, s390x_gregset, s390_fpregset): New variables.
(s390_supply_regset, s390_regset_from_core_section): New functions.
(GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
(S390_FPR_SIZE): Likewise.
(S390_GPR_SIZE): Likewise.  Redefine in terms of GDB_TARGET_IS_ESAME.
Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
(S390_NUM_GPRS): Move here from tm-s390.h.
(S390_NUM_FPRS): Likewise.
(s390_in_function_epilogue_p): New function.
(s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
(s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
Replace S390_FP_REGNUM by S390_SP_REGNUM.
Remove calls to:
set_gdbarch_deprecated_max_register_raw_size,
set_gdbarch_deprecated_max_register_virtual_size,
set_gdbarch_deprecated_register_byte,
set_gdbarch_cannot_fetch_register,
set_gdbarch_cannot_store_register,
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_raw_size,
set_gdbarch_deprecated_register_virtual_size,
set_gdbarch_deprecated_register_virtual_type,
set_gdbarch_deprecated_register_bytes.
Add calls to:
set_gdbarch_num_pseudo_regs,
set_gdbarch_register_type,
set_gdbarch_convert_register_p,
set_gdbarch_register_to_value,
set_gdbarch_value_to_register,
set_gdbarch_register_reggroup_p,
set_gdbarch_regset_from_core_section,
set_gdbarch_pseudo_register_read,
set_gdbarch_pseudo_register_write,
set_gdbarch_in_function_epilogue_p.
* Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
(s390_tdep_h): New variable.

20 years ago* gdb.base/gdb1555.exp: New file.
Adam Fedor [Wed, 18 Feb 2004 03:35:08 +0000 (03:35 +0000)]
* gdb.base/gdb1555.exp: New file.
* gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.