Jeff Johnston
51931cbbf6
2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-linux-tdep.c: Include gdbcore.h.
(IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
(ia64_linux_sigcontext_register_addr): Find the address of the
sigcontext area stored in the sigframe instead of using
a magic offset constant.
2003-10-15 22:55:32 +00:00
Andrew Cagney
84e7fd53af
2003-10-15 Andrew Cagney <cagney@redhat.com>
...
* remote.c (remote_search): Delete function.
* target.h (target_search): Delete disabled macro.
(struct target_ops): Delete disabled field "to_search".
2003-10-15 21:10:55 +00:00
Kevin Buettner
0f4d7c5207
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
...
instead of deprecated_inside_entry_file().
2003-10-14 20:44:46 +00:00
Corinna Vinschen
2e95240843
* sh-tdep.c: Fix two copy/paste hangovers in comments.
...
(sh_push_dummy_call_fpu): Accomodate double passing in little endian
mode.
(sh3e_sh4_extract_return_value): Ditto.
2003-10-14 15:35:43 +00:00
Richard Henderson
7e86466e04
* f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
...
* f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to
match c_val_print a bit closer.
2003-10-14 06:51:14 +00:00
Kevin Buettner
46a16dba95
* frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
...
(frv_gdbarch_adjust_breakpoint_address): New function.
(frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address''
method.
2003-10-14 00:30:27 +00:00
Kevin Buettner
76897487df
* breakpoint.h (struct breakpoint): Add new member
...
``requested_address''.
* breakpoint.c (breakpoint_adjustment_warning)
(adjust_breakpoint_address): New static functions.
(print_it_typical): Issue warning if breakpoint's address is different
from its requested address.
(set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
(breakpoint_re_set_one): Set breakpoint's
``requested_address'' field. Set ``address'' field to the
result of calling adjust_breakpoint_address() on the requested
address.
2003-10-13 23:53:20 +00:00
Kevin Buettner
a113152116
* gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
...
* gdbarch.h, gdbarch.c: Regenerate.
2003-10-13 23:41:40 +00:00
Mark Kettenis
155c1d33d8
* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
...
TDEP->sc_num_regs.
2003-10-11 15:38:55 +00:00
Mark Kettenis
8a96bc77ca
* i386fbsd-tdep.c: New file.
...
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
2003-10-11 15:22:39 +00:00
Mark Kettenis
477f40d1ae
* amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.
...
(amd64fbsd_init_abi): Set TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
in initialization of TDEP->sc_num_regs.
2003-10-11 14:54:24 +00:00
Mark Kettenis
c6b3359690
* x86-64-tdep.c (x86_64_regset_from_core_section): New function.
...
(x86_64_init_abi): Initialize regset_from_core_section if
appropriate.
2003-10-11 14:19:11 +00:00
Mark Kettenis
8446b36a38
* i386-tdep.c (i386_regset_from_core_section): New function.
...
(i386_gdbarch_init): Initialize regset_from_core_section if
appropriate.
* i386-tdep.h (i386_regset_from_core_section): New declaration.
2003-10-11 13:50:25 +00:00
Mark Kettenis
c783cbd61e
* i386-tdep.h (struct regset): Declare opaque.
2003-10-11 13:33:31 +00:00
Mark Kettenis
6ce6d90f6a
* gdbarch.sh (regset_from_core_section): New method.
...
(struct regset): Declare opaque.
* gdbarch.c, gdbarch.h: Regenerated.
2003-10-11 12:52:30 +00:00
Alan Modra
b98ed7bea6
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
...
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Correct test for pc within section.
2003-10-11 12:40:38 +00:00
Mark Kettenis
f6214256ec
* gdbarch.sh: Remove trailing whitepsace from comments.
2003-10-11 12:05:44 +00:00
Roland McGrath
a8f4cde1ae
.
2003-10-11 01:57:07 +00:00
Michael Snyder
7427672472
2003-10-10 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c: Fix typo in comment.
2003-10-10 21:59:05 +00:00
Andrew Cagney
e754ae69e1
2003-10-10 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (e500_store_return_value): Delete function.
(e500_extract_return_value): Delete function.
(rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
"restore_return_value" to "ppc_sysv_abi_extract_return_value" and
"ppc_sysv_abi_restore_return_value" where applicable.
* ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
(ppc_sysv_abi_extract_return_value): Declare.
(ppc_sysv_abi_broken_store_return_value): Declare.
(ppc_sysv_abi_broken_extract_return_value): Declare.
(ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
* ppc-sysv-tdep.c (return_value_convention): Move definition to
start of file.
(do_ppc_sysv_return_value): New function.
(ppc_sysv_abi_extract_return_value): New function.
(ppc_sysv_abi_store_return_value): New function.
(ppc_sysv_abi_broken_extract_return_value): New function.
(ppc_sysv_abi_broken_store_return_value): New function.
(ppc_sysv_abi_use_struct_convention): Call
do_ppc_sysv_return_value.
2003-10-10 21:32:47 +00:00
Joel Brobecker
8d4ce20aa3
* blockframe.c (inside_main_func): No longer use symbol_lookup()
...
to lookup the main function symbol.
2003-10-10 20:49:40 +00:00
Corinna Vinschen
afce3d2aa2
* sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
...
types correctly.
(sh_push_dummy_call_fpu): Fix argument passing rules.
(sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize
float types.
(sh3e_sh4_store_return_value): Ditto.
2003-10-10 20:30:45 +00:00
Elena Zannoni
7fe958be01
2003-10-10 Elena Zannoni <ezannoni@redhat.com>
...
* sh-tdep.c (sh_use_struct_convention): Clarify one case in
comment.
2003-10-10 19:20:31 +00:00
Corinna Vinschen
3f997a978d
* sh-tdep.c (sh_use_struct_convention): Clean up to have a
...
more readable code. Accomodate passing of bitfields.
2003-10-10 19:14:08 +00:00
Andrew Cagney
8be9034ab1
2003-10-10 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h).
* rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set
push_dummy_call to ppc64_sysv_abi_push_dummy_call.
* ppc-sysv-tdep.c: Include "gdb_assert.h".
(ppc64_sysv_abi_push_dummy_call): New function.
(ppc64_sysv_abi_broken_push_dummy_call): New function.
* ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare.
(ppc64_sysv_abi_broken_push_dummy_call): Declare.
2003-10-10 18:29:13 +00:00
Kazuhiro Inaoka
85a453d541
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas".
* README: Ditto.
* d10v-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* remote-e7000.c: Ditto.
* remote-hms.c: Ditto.
* ser-e7kpc.c: Ditto.
* sh-stub.c: Ditto.
* sh-tdep.c: Ditto.
* sh-tdep.h: Ditto.
* sh3-rom.c: Ditto.
* sh64-tdep.c: Ditto.
* top.c: Ditto.
* wince.c: Ditto.
* config/d10v/d10v.mt: Ditto.
* config/sh/embed.mt: Ditto.
* config/sh/linux.mt: Ditto.
* config/sh/tm-linux.h: Ditto.
* config/sh/tm-sh.h: Ditto.
* config/sh/wince.mt: Ditto.
2003-10-10 07:13:11 +00:00
Andrew Cagney
221c12ff27
2003-10-09 Andrew Cagney <cagney@redhat.com>
...
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.
2003-10-10 03:14:08 +00:00
Andrew Cagney
ef5200c1f0
2003-10-09 Andrew Cagney <cagney@redhat.com>
...
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>:
* config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto.
(SOFTWARE_SINGLE_STEP_P): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set
software_single_step to rs6000_software_single_step.
2003-10-10 02:40:19 +00:00
Andrew Cagney
9644bbdd74
2003-10-09 Andrew Cagney <cagney@redhat.com>
...
* MAINTAINERS: Mark m32r-elf as buildable with -Werror.
2003-10-10 01:59:13 +00:00
Elena Zannoni
f49c4e4e2b
Fix typo in previous CL entry.
2003-10-10 01:43:56 +00:00
Michael Snyder
f3efb16c92
2003-10-09 Michael Snyder <msnyder@redhat.com>
...
* frame.h: Fix typo in comment.
2003-10-10 00:32:04 +00:00
Michael Snyder
67938b61d0
2003-10-09 Michael Snyder <msnyder@redhat.com>
...
* dummy-frame.c: Fix typo.
2003-10-10 00:28:43 +00:00
Michael Snyder
db72fa6bdc
2003-10-09 Michael Snyder <msnyder@redhat.com>
...
* d10v-tdep.c: Random whitespace/comment tweaks.
2003-10-10 00:25:43 +00:00
Elena Zannoni
9a5cef92c8
2003-10-09 Elena Zannoni <ezannoni@redhat.com>
...
* sh-tdep.c (sh_gdbarch_init): Delete setting of push_dummy_code.
(sh_gdbarch_init): Delete function, it's only used for dummy calls
on stack.
Based on input by Stephen Clarke (stephen.clarke@superh.com ):
* sh-tdep.c (sh_use_struct_convention): Add comment explaining ABI
in detail.
2003-10-09 20:23:41 +00:00
Daniel Jacobowitz
0f317a0ca7
* remote-mips.c (mips_initialize): Remove unneeded call to
...
get_selected_frame. Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
2003-10-09 14:34:04 +00:00
Daniel Jacobowitz
bbab2f465b
* dwarf2expr.c (execute_stack_op): Don't treat the frame base as
...
a memory pointer.
2003-10-09 14:11:58 +00:00
Jeff Johnston
550950b8bf
2003-10-08 Jeff Johnston <jjohnstn@redhat.com>
...
* lin-lwp.c (stop_and_resume_callback): Set the resumed flag
for any lwp we resume.
(running_callback): Add lwps that have pending status events
against them to be considered running.
2003-10-08 20:05:56 +00:00
Kazuhiro Inaoka
15c69bc792
2003-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* m32r-tdep.c : Include "dis-asm.h".
* Makefile.in (m32r-tdep.o): Update dependencies.
2003-10-08 02:54:31 +00:00
Joel Brobecker
51065942b4
* completer.h (get_gdb_completer_word_break_characters): Delete.
...
* completer.c: include language.h.
(gdb_completer_word_break_characters): Delete.
(get_gdb_completer_word_break_characters): Delete.
(location_completer): Use the word break characters of the current
language.
(complete_line): Likewise.
(line_completion_function): Likewise.
(skip_quoted_chars): Likewise.
* Makefile.in (completer.o): Add dependency on language.h.
* top.c (init_main): Set the readline word break characters
to GDB's default word break characters.
2003-10-06 22:41:17 +00:00
Joel Brobecker
6084f43ac2
* language.h (language_defn): new field, la_word_break_characters.
...
* language.c (unknown_language_defn): Set new field to
default_word_break_characters.
(auto_language_defn): Likewise.
(local_language_defn): Likewise.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn): Likewise.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
2003-10-06 22:38:03 +00:00
Andrew Cagney
944fcfab56
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* ppc-sysv-tdep.c: Re-indent.
2003-10-06 22:23:47 +00:00
Joel Brobecker
9f0a53037d
* language.h (default_word_break_characters): Add prototype.
...
* language.c (default_word_break_characters): New function.
2003-10-06 22:21:52 +00:00
Andreas Schwab
7270b6ed5a
* i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
...
with %eax.
2003-10-06 21:58:20 +00:00
Andrew Cagney
a5d61f6618
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and
"h8500-tdep.c".
(z8k-tdep.o): Delete custom build rule.
2003-10-06 21:56:40 +00:00
Andrew Cagney
1bfd8a8364
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in: Update all dependencies.
2003-10-06 20:43:39 +00:00
Andrew Cagney
17144ef849
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted.
No longer list PA as as obsolete candidate. List m32r as
broken instead of obsolete.
2003-10-06 20:38:17 +00:00
Andrew Cagney
a5679ae50d
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
* config/z8k/z8k.mt: Ditto.
2003-10-06 20:23:41 +00:00
Andrew Cagney
4a8269c0f0
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,
i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and
sparclite were removed.
* configure.host, configure.tgt: Remove corresponding tuples.
2003-10-06 19:47:21 +00:00
Andrew Cagney
41989fcd80
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* breakpoint.c, breakpoint.h: Remove obsolete code and comments.
* buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto.
* monitor.c, sparc-tdep.c, stabsread.c: Ditto.
* stabsread.h, xcoffread.c: Ditto.
2003-10-06 19:27:13 +00:00
Andrew Cagney
28a86f5cc0
2003-10-06 Andrew Cagney <cagney@redhat.com>
...
* z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file.
* sparclet-stub.c, sparclet-rom.c: Delete obsolete file.
* sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file.
* m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file.
2003-10-06 19:10:44 +00:00