Andreas Schwab
a5ad465acc
* elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
...
(elf_m68k_relocate_section): Use it to correctly handle symbols
forced to be local.
(elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got
entries for symbols that are forced to be local.
2003-03-26 14:20:14 +00:00
Adam Fedor
f636b87d5a
* Makefile.in (infrun.o): Add $(language_h)
...
* infrun.c (handle_inferior_event): Use skip_language_trampoline
for language specific trampolines.
* language.h (struct language_defn): Add skip_trampoline.
(skip_language_trampoline): Declare.
* language.c (unk_lang_trampoline, skip_language_trampoline):
New functions.
(unknown_language_defn, auto_language_defn, local_language_defn):
Add ukn_lang_trampoline.
* ada-lang.c (ada_language_defn): Add NULL for language
specific skip_trampoline.
* c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
scm-lang.c: Likewise.
* objc-lang.c (objc_skip_trampoline): New function.
(objc_language_defn): Add objc_skip_trampoline.
2003-03-26 03:39:44 +00:00
Alexandre Oliva
05e6bb2fc9
* ld-mips-elf/mips-elf.exp: Added...
...
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d,
ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d,
ld-mips-elf/relax-jalr-n64-shared.d: New tests.
2003-03-26 01:05:44 +00:00
Alexandre Oliva
d06471104a
* elfxx-mips.c (_bfd_mips_relax_section): New function.
...
* elfxx-mips.h (_bfd_mips_relax_section): Declare.
* elfn32-mips.c, elf64-mips.c: Use it.
2003-03-26 01:04:22 +00:00
gdbadmin
3185fd28d1
*** empty log message ***
2003-03-26 00:00:32 +00:00
Andrew Cagney
270c3b1dfa
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_prev_frame): Delay validating a frame's ID -
non-NULL, didn't go backwards - until an attempt to unwind it to
the previous frame.
2003-03-26 00:00:07 +00:00
Alan Modra
6850776429
daily update
2003-03-25 23:00:05 +00:00
Andrew Cagney
f933a9c585
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h
(DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
* sparc-tdep.c (sparc_gdbarch_init): Set
deprecated_extra_stack_alignment_needed.
* config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
extra_stack_alignment_needed.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2003-03-25 22:56:41 +00:00
Nick Clifton
e16bb312f5
Add iWMMXt support
2003-03-25 20:56:01 +00:00
Andrew Cagney
4183d81204
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
STORE_STRUCT_RETURN.
* gdbarch.h, gdbarch.c: Regenerate.
* d10v-tdep.c (d10v_store_struct_return): Delete function.
(d10v_push_arguments): Set the struct return register.
(d10v_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-25 20:38:47 +00:00
Andrew Cagney
1bf6d5cced
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
CALL_DUMMY_STACK_ADJUST with a predicate variable.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_stack_adjust_p.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
call_dummy_stack_adjust_p.
* inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
(CALL_DUMMY_STACK_ADJUST): Delete macro.
* sparc-tdep.c (sparc32_push_arguments): Update.
* valops.c (hand_function_call): Update.
2003-03-25 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to CALL_DUMMY_STACK_ADJUST_P. Rename
CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST.
Add reference to PUSH_ARGUMENTS.
2003-03-25 18:54:16 +00:00
Corinna Vinschen
71c08af019
* xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
...
set_gdbarch_char_signed.
2003-03-25 16:12:56 +00:00
Richard Earnshaw
30757f90e0
PR cli/548
...
* arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
2003-03-25 15:35:39 +00:00
Richard Earnshaw
03d48a7d6c
* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
...
(_initialize_arm_tdep): Don't set tm_print_insn.
2003-03-25 14:52:33 +00:00
Nick Clifton
3fe38064ba
ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
...
ldfile.c: Include pathnames.h. (is_sysrooted_pathname): New. (ldfile_add_library_path): Use it.
(ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH.
Don't search_dirs if given an absolute pathname.
(ldfile_open_file): Issue error message for sysrooted absolute pathnames.
2003-03-25 10:29:28 +00:00
Adam Fedor
2cf6873cae
Makefile.in (YYOBJ): Add objc-exp.tab.o
...
objc-lang.h: Add multiple inclusion protection.
(start_msglist, add_msglist, end_msglist): Additional declarations.
2003-03-25 02:18:55 +00:00
Alexandre Oliva
fe6c07ac60
Replace oddly-encoded blank with regular blanks
2003-03-25 00:41:25 +00:00
gdbadmin
97bc8fc87e
*** empty log message ***
2003-03-25 00:00:02 +00:00
Alan Modra
10c139a8c4
daily update
2003-03-24 23:00:05 +00:00
Nick Clifton
7c29036b75
Add --info command line switch
2003-03-24 16:11:46 +00:00
Nick Clifton
9418ab9c20
Rename the all occurances of C54X to TIC54X.
2003-03-24 15:43:15 +00:00
Nick Clifton
06d86cf78e
Move display_info() function into bucomm.c
2003-03-24 11:28:35 +00:00
Richard Earnshaw
17c0759ec4
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
...
value was renamed to ARM_FLOAT_SOFT_FPA.
2003-03-24 09:53:41 +00:00
Andrew Cagney
618ce49fa2
Index: ChangeLog
...
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
(DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update.
* objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* frame.c (legacy_saved_regs_this_id): Update.
(legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
* dummy-frame.h: Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-sun3.h: Update.
* blockframe.c (inside_main_func, frame_chain_valid): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
(rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
(frame_get_saved_regs): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
(i386_interix_back_one_frame): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
(hppa_init_extra_frame_info): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Index: doc/ChangeLog
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Algorithms, Target Architecture Definition):
Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID.
2003-03-24 03:54:51 +00:00
gdbadmin
c24f1158be
*** empty log message ***
2003-03-24 00:00:02 +00:00
Alan Modra
31f5fa55c7
daily update
2003-03-23 23:00:04 +00:00
Alexandre Oliva
aa072e5934
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
...
instead of $$CC alone.
(install_to_tooldir): Use it.
2003-03-23 10:16:44 +00:00
gdbadmin
45b1429091
*** empty log message ***
2003-03-23 00:00:01 +00:00
Danny Smith
2630b4ca5f
* dlltool.c (gen_def_file): Put demangled name comments on
...
own line preceding export name.
2003-03-22 21:04:50 +00:00
Richard Earnshaw
fd50bc42f4
* arm-tdep.h (arm_float_model): Add AUTO and LAST values.
...
(arm_get_fp_model): Declare.
* arm-tdep.c (fp_model_strings): New string array.
(arm_fp_model, current_fp_model): New variables.
(arm_get_fp_model): New function.
(arm_set_fp): New function.
(set_fp_model_sfunc): New function.
(show_fp_model): New function.
(_initialize_arm_tdep): Add new command to set/show the FPU.
(arm_extract_return_value): Use arm_get_fp_model.
(arm_store_return_value): Likewise.
(arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
to initialize the floating-point data types.
* arm-linux-tdep.c (arm_linux_init_abi): The default floating point
model is FPA.
2003-03-22 20:39:21 +00:00
Doug Evans
067186e45f
* i386-dis.c (dis386): Recognize icebp (0xf1).
2003-03-22 18:56:45 +00:00
Richard Earnshaw
26304000ed
* arm-tdep.c (show_arm_command): Don't print out help. Instead, show
...
the current setting of each value.
(_initialize_arm_tdep): Delete variable new_cmd and add new vars
new_set and new_show. Use add_setshow_cmd_full and
add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
commands and add new version as subcommands of "set/show arm".
2003-03-22 18:01:38 +00:00
Richard Earnshaw
afd7eef09b
* arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
...
(set_arm_command, show_arm_command): New functions.
(_initialize_arm_tdep): Add them.
(num_disassembly_options): Renamed from num_flavor_options.
(valid_disassembly_styles): Renamed from valid_flavors.
(disassembly_style): Renamed from disassembly_flavor.
(set_disassembly_style_sfunc): Renamed from
set_disassembly_flavor_sfunc.
(set_disassembly_style): Renamed from set_disassembly_flavor.
(arm_othernames): Updated.
(_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
command. Add "set/show arm disassembly" commands. Deprecate
"othernames" command.
2003-03-22 16:22:18 +00:00
Richard Earnshaw
299a794423
* Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
...
(arm-tdep.o): Depend on elf_arm_h.
2003-03-22 14:54:58 +00:00
Richard Earnshaw
c1dac9e669
* Makefile.in (coff_internal_h): Define.
...
(arm-tdep.o): Update dependencies.
2003-03-22 14:42:54 +00:00
Richard Earnshaw
2702d96c11
* arm-tdep.c (prologue_cache): Delete.
...
(check_prologue_cache, save_prologue_cache): Delete.
(arm_scan_prologue): Don't check or update the prologue_cache.
(arm_gdb_arch_init): Don't initialize it.
(_initialize_arm_tdep): Likewise.
2003-03-22 14:31:30 +00:00
gdbadmin
29e0ede4d5
*** empty log message ***
2003-03-22 00:00:31 +00:00
Alan Modra
39a204f8bb
daily update
2003-03-21 23:00:05 +00:00
Stephane Carrez
71b10041ee
* gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
...
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-21 20:34:38 +00:00
Stephane Carrez
27d5d74b1c
* MAINTAINERS (tui): Maintainer of tui code.
2003-03-21 20:00:20 +00:00
DJ Delorie
25f14c34bd
* elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
...
_bfd_elf_rela_local_sym.
2003-03-21 19:49:11 +00:00
Andreas Schwab
e39edc66a9
* config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
...
avoid aliasing issue.
2003-03-21 14:02:09 +00:00
Martin Schwidefsky
af169f2333
* s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
...
S390_OPCODE_ZARCH.
(print_insn_s390): Use new modes field of s390_opcodes.
* s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove.
(s390_opcode_mode_val, s390_opcode_cpu_val): New enums.
(struct op_struct): Remove archbits. Add mode_bits and min_cpu.
(insertOpcode): Replace archbits by min_cpu and mode_bits.
(dumpTable): Write mode_bits and min_cpu instead of archbits.
(main): Adapt to new format in s390-opcode.txt.
* s390-opc.c (s390_opformats): Replace archbits by min_cpu and
mode_bits.
* s390-opc.txt: Replace archbits by min_cpu and mode_bits.
2003-03-21 13:28:09 +00:00
Martin Schwidefsky
1bd490c46b
* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
...
(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
(s390_opcode): Remove architecture. Add modes and min_cpu.
2003-03-21 13:26:21 +00:00
Martin Schwidefsky
37a5879375
* config/tc-s390.c (s390_arch_size): Initialize to zero.
...
(current_arch_mask): Rename to current_mode_mask.
(current_arch_requested): Remove variable.
(current_cpu): New variable.
(init_default_arch): Set defaults values for s390_arch_size,
current_mode_mask and current_cpu.
(md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
(md_begin): Replace current_arch_mask by current_cpu.
(md_assemble): Adapt check and error message to current_mode_mask and
current_cpu.
2003-03-21 13:24:46 +00:00
Corinna Vinschen
1762d96d29
* Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
...
(i386-cygwin-tdep.o): Add dependencies.
* defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
* i386-cygwin-tdep.c: New file.
* osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
* config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
2003-03-21 10:07:18 +00:00
gdbadmin
81c07bdb6c
*** empty log message ***
2003-03-21 00:00:32 +00:00
Alan Modra
a53a0369d7
daily update
2003-03-20 23:00:05 +00:00
Andrew Cagney
f20d38b7ff
2003-03-20 Andrew Cagney <cagney@redhat.com>
...
* infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
(handle_inferior_event): Remove code calling
DYNAMIC_TRAMPOLINE_NEXTPC.
2003-03-20 22:52:53 +00:00
Andrew Cagney
0022b73869
2003-03-20 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (init.c): Don't add $(srcdir) prefix when a file
already has a full path.
2003-03-20 22:43:10 +00:00