Bob Wilson
9b8c98a411
* elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
...
next relocation on an undefined symbol.
2003-04-10 19:19:02 +00:00
Andrew Cagney
7f78e23771
2003-04-10 Andrew Cagney <cagney@redhat.com>
...
* frame.c (fprint_frame_id): New function.
(fprint_frame_type, fprint_frame): New function.
(frame_pc_unwind, frame_func_unwind): Add/update trace code.
(create_sentinel_frame, get_frame_id): Ditto.
(frame_id_p, frame_id_eq): Ditto.
(frame_id_inner, create_new_frame): Ditto.
(legacy_get_prev_frame, get_prev_frame): Ditto.
(deprecated_update_frame_pc_hack): Ditto.
(frame_register_unwind): Ditto.
(deprecated_update_frame_base_hack): Ditto.
2003-04-10 15:32:27 +00:00
Elena Zannoni
68ab8fc55f
2003-04-10 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.
2003-04-10 13:38:15 +00:00
Corinna Vinschen
f870b49baf
* i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
...
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
frame_chain function.
* Makefile.in: Add dependencies due to above change.
2003-04-10 13:15:50 +00:00
Corinna Vinschen
7c86889b04
* blockframe.c (legacy_frame_chain_valid): Move call to
...
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
inside_entry_file.
2003-04-10 11:12:30 +00:00
Andrew Cagney
d0a557723a
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* frame.h (struct frame_id): Replace "pc" and "base" with
"stack_addr" and "code_addr". Update comments.
(frame_id_build): Update parameter names and comment.
(struct frame_info): Replace "id_p" and "id" with "this_id".
* dummy-frame.c (dummy_frame_this_id): Update.
* breakpoint.c (print_one_breakpoint): Update.
* frame.c (get_frame_id): Update.
(get_frame_base, frame_id_build): Update.
(create_sentinel_frame, legacy_get_prev_frame): Update.
(deprecated_update_frame_base_hack): Update.
(frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
(frame_id_inner): Ditto.
2003-04-10 03:30:36 +00:00
Andrew Cagney
ac16bf075e
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* defs.h (gdb_print_host_address): Make "addr" parameter a
pointer constant.
* utils.c (gdb_print_host_address): Update.
2003-04-10 02:18:40 +00:00
gdbadmin
e4b633ba46
*** empty log message ***
2003-04-10 00:00:31 +00:00
Alan Modra
ac299f1784
daily update
2003-04-10 00:00:06 +00:00
Jim Blandy
5624293aaa
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
...
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.
2003-04-09 23:21:14 +00:00
Kevin Buettner
366cfc9e2b
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
...
register number for R0 is 0.
2003-04-09 22:44:24 +00:00
Joel Brobecker
cd983b5cd0
* frame.h (struct gdbarch): Add opaque structure definition
...
to avoid a compilation warning on LynxOS 4.0.
2003-04-09 21:53:28 +00:00
Stephane Carrez
35b55ed213
* doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
...
-mlong, -mshort-double and -mlong-double options; use table @code.
(M68HC11-Syntax): Update to document 68HC12 operands.
(M68HC11-Modifiers): New section for operand modifiers.
(M68HC11-Directives): New section for specific assembler directives.
(M68HC11-Branch): Fix Overfull hbox error.
2003-04-09 21:48:39 +00:00
Andrew Cagney
d134026405
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* frame.h (struct frame_info): Delete field "pc". Replace
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
structure.
* frame.c (frame_pc_unwind): Update.
(create_sentinel_frame): Do not set "pc".
(get_prev_frame): Do not set "pc". Use frame_pc_unwind.
(get_frame_pc): Call frame_pc_unwind.
(deprecated_update_frame_pc_hack): Update.
(create_new_frame): Use "pc" not "->pc".
2003-04-09 20:49:22 +00:00
Richard Henderson
ec1659c846
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
...
Ignore relocations against r_symndx == 0.
2003-04-09 20:08:14 +00:00
Andrew Cagney
90a6fffbda
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_frame_id): Eliminate code updating "frame".
(legacy_get_prev_frame): Ditto.
(get_frame_base): Return id.base directly.
(deprecated_update_frame_base_hack): Update "id.base".
* frame.h (struct frame_info): Delete field "frame".
2003-04-09 18:24:01 +00:00
H.J. Lu
7dfb07f7c2
2003-04-09 H.J. Lu <hjl@gnu.org>
...
* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
2003-04-09 16:19:53 +00:00
Andrew Cagney
2fbce69179
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* NEWS: Mention that the "Sequent family" is obsolete.
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* configure.host: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* config/i386/tm-ptx4.h: Obsolete file.
* config/i386/tm-ptx.h: Obsolete file.
* symm-tdep.c: Obsolete file.
* config/i386/symmetry.mt: Obsolete file.
* config/i386/tm-symmetry.h: Obsolete file.
* symm-nat.c: Obsolete file.
* config/i386/nm-symmetry.h: Obsolete file.
* config/i386/xm-symmetry.h: Obsolete file.
* config/i386/symmetry.mh: Obsolete file.
* config/i386/nm-ptx4.h: Obsolete file.
* config/i386/ptx4.mh: Obsolete file.
* config/i386/ptx.mt: Obsolete file.
* config/i386/ptx.mh: Obsolete file.
* config/i386/xm-ptx4.h: Obsolete file.
* config/i386/xm-ptx.h: Obsolete file.
2003-04-09 16:19:52 +00:00
Andrew Cagney
78c4394505
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
Obsolete mips*-*-mach3*.
* NEWS: Mention that mips*-*-mach3* is obsolete.
* m3-nat.c: Obsolete file.
* config/nm-m3.h: Obsolete file.
* config/mips/tm-mipsm3.h: Obsolete file.
* config/mips/mipsm3.mt: Obsolete file.
* config/mips/mipsm3.mh: Obsolete file.
* config/mips/xm-mipsm3.h: Obsolete file.
* mipsm3-nat.c: Obsolete file.
* configure.host: Obsolete mips-dec-mach3*.
* configure.tgt: Obsolete mips*-*-mach3*.
2003-04-09 16:10:06 +00:00
Andrew Cagney
f190828974
2003-04-09 Andrew Cagney <cagney@redhat.com>
...
* doublest.h: Update copyright.
(deprecated_store_floating, deprecated_extract_floating): Rename
store_floating and extract_floating. Update comments.
* doublest.c: Update copyright.
(extract_floating_by_length): Replace extract_floating.
(store_floating_by_length): Replace store_floating.
(deprecated_extract_floating): New function.
(deprecated_store_floating): New function.
(extract_typed_floating): Call extract_floating_by_length.
(store_typed_floating): Call store_floating_by_length.
* x86-64-tdep.c (x86_64_store_return_value): Update.
* sh-tdep.c (sh3e_sh4_extract_return_value): Update.
(sh64_extract_return_value): Update.
(sh_sh4_register_convert_to_virtual): Update.
(sh_sh64_register_convert_to_virtual): Update.
(sh_sh4_register_convert_to_raw): Update.
(sh_sh64_register_convert_to_raw): Update.
* rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
(rs6000_register_convert_to_raw): Update.
* ia64-tdep.c (ia64_register_convert_to_virtual): Update.
(ia64_register_convert_to_raw): Update.
* config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
(REGISTER_CONVERT_TO_VIRTUAL): Update.
* arm-linux-tdep.c (arm_linux_push_arguments): Update.
* alpha-tdep.c (alpha_register_convert_to_virtual): Update.
(alpha_register_convert_to_raw): Update.
2003-04-09 15:08:27 +00:00
Nick Clifton
d4b6ee6788
Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
...
Add ctors/dtors start/stop definitions.
2003-04-09 11:07:51 +00:00
Alexandre Oliva
a3805e4e10
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
...
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.
2003-04-09 09:56:17 +00:00
Alexandre Oliva
c1124b23a9
* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
...
for debugging information types not supported by objdump.
2003-04-09 09:55:13 +00:00
Alan Modra
e507634795
* configure.in: Recognize canonical form of i[3-6]86-pe*.
...
* configure: Regenerate.
2003-04-09 05:14:35 +00:00
Alexandre Oliva
adab8cdcb0
* readelf.c (display_debug_info): Apply RELA relocations on the
...
entire section.
(byte_put_little_endian, byte_put_big_endian): New functions.
(byte_put): New variable.
(get_file_header): Initialize it.
2003-04-09 04:07:56 +00:00
Alexandre Oliva
9214dd3be3
* config/tc-mips.c (macro): Add comments explaining the rationale
...
for Chris' change.
2003-04-09 03:09:12 +00:00
Alexandre Oliva
eb0a7d52bd
* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
...
constant address that Alexandre took out by accident. Reject
64-bit addresses that are not sign extensions of 32 bits only if
we don't support 64-bit address constants.
2003-04-09 03:07:48 +00:00
Alexandre Oliva
69931e6013
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
...
pointer size from ABI, not arch_bits_per_address.
2003-04-09 02:55:40 +00:00
Alan Modra
27abff5434
* mips.h: Correct comment typo.
2003-04-09 00:12:24 +00:00
gdbadmin
92aafcd3b4
*** empty log message ***
2003-04-09 00:00:32 +00:00
Alan Modra
7a3d2ef920
daily update
2003-04-09 00:00:05 +00:00
Alan Modra
a7fc733f39
* config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
2003-04-08 23:01:47 +00:00
Andrew Cagney
4443bd8373
2003-04-08 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
(d10v_gdbarch_init): Do not set saved_pc_after_call.
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
conditionally, use frame_pc_unwind as an alternative. Add
comments.
* arch-utils.c (init_frame_pc_default): Only call
SAVED_PC_AFTER_CALL when available.
2003-04-08 21:56:10 +00:00
Andrew Cagney
a66624bc3e
2003-04-08 Andrew Cagney <cagney@redhat.com>
...
* gdb792.exp: Skip when C++.
2003-04-08 21:48:40 +00:00
Andrew Cagney
fb8f894921
2003-04-08 Andrew Cagney <cagney@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Delete
references to EXTRA_FRAME_INFO.
2003-04-08 21:25:33 +00:00
Andrew Cagney
32fb0f22eb
2003-04-08 Andrew Cagney <cagney@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Delete
PRINT_TYPELESS_INTEGER.
2003-04-08 21:20:06 +00:00
Elena Zannoni
c0236d928f
2003-04-08 Elena Zannoni <ezannoni@redhat.com>
...
* infrun.c (stop_soon): Rename from stop_soon_quietly.
(struct inferior_status): Rename stop_soon_quietly field to stop_soon.
(clear_proceed_status): Rename stop_soon_quietly to stop_soon.
(start_remote): Ditto.
(handle_inferior_event): Ditto.
(save_inferior_status): Ditto.
(restore_inferior_status): Ditto.
* infcmd.c (attach_command): Ditto.
* fork-child.c (startup_inferior): Ditto.
* inferior.h (stop_soon): Rename from stop_soon_quietly.
* alpha-tdep.c (heuristic_proc_start): Ditto.
* mips-tdep.c (heuristic_proc_start): Ditto.
* solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-irix.c (irix_solib_create_inferior_hook): Ditto.
* remote-vx.c (vx_create_inferior): Ditto.
2003-04-08 19:21:15 +00:00
Elena Zannoni
c54cfec8d4
2003-04-08 Elena Zannoni <ezannoni@redhat.com>
...
* infrun.c (stop_soon_quietly): Make it an enum, to better
override the default behavior of handle_inferior_event.
(clear_proceed_status): Update uses of stop_soon_quietly to
reflect that it is now an enum.
(start_remote): Ditto.
(handle_inferior_event): Change logic a bit if stop_soon_quietly
is set to handle the new GNU/Linux kernel behavior for
attach/sigstop. Update uses of stop_soon_quietly.
* inferior.h (enum stop_kind): New enum.
* infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
Reset normal handle_inferior_event behavior, afterwards.
* fork-child.c (startup_inferior): Update.
* alpha-tdep.c (heuristic_proc_start): Update.
* solib-svr4.c (svr4_solib_create_inferior_hook): Update.
* solib-sunos.c (sunos_solib_create_inferior_hook): Update.
* solib-osf.c (osf_solib_create_inferior_hook): Update.
* solib-irix.c (irix_solib_create_inferior_hook): Update.
* remote-vx.c (vx_create_inferior): Update.
* mips-tdep.c (heuristic_proc_start): Update.
2003-04-08 18:52:04 +00:00
Nick Clifton
9cc92a36ed
* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
...
* cgen.c (gas_cgen_begin): New function. If flag_signed_overflow_ok is set
call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok.
* cgen.h: Prototype gas_cgen_begin.
* testsuite/gas/m32r/m32r.exp: Run signed-relocs test.
* testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs.
* testsuite/gas/m32r/signed-relocs.d: New file: Expected results
2003-04-08 12:47:08 +00:00
Nick Clifton
983aea3412
* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
...
* ia64-asmtab.c: Regenerate.
* gas/ia64/dependency-1.s: New file: Test read before write dependency.
* gas/ia64/dependency-1.d: New file: Expected assembly results.
* gas/ia64/ia64.exp: Run the new test.
2003-04-08 09:50:07 +00:00
Alexandre Oliva
0b14f26eff
* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.
2003-04-08 07:14:47 +00:00
Elena Zannoni
1211bce379
2003-04-04 Elena Zannoni <ezannoni@redhat.com>
...
* disasm.c (dump_insns): Move variables inside loop, or they will
be freed more than once, causing wild memory corruptions.
(gdb_disassembly): Look for the substring "-thread",
instead of "-threads" in the target name, to make sure to find
the 'multi-thread' target. Also, make sure we do the right thing
with the "core" target.
2003-04-08 01:40:31 +00:00
Alexandre Oliva
8aa4c77d70
* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.
2003-04-08 00:39:16 +00:00
gdbadmin
c4c0821de9
*** empty log message ***
2003-04-08 00:00:31 +00:00
Alan Modra
07d5e0b978
daily update
2003-04-08 00:00:06 +00:00
Kevin Buettner
59a8c196af
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
...
constants for n32 ABI.
2003-04-07 20:08:10 +00:00
Kevin Buettner
f0ef6b29bd
* mips-tdep.c (mips_print_fp_register): New function, created from
...
do_fp_register_row(). Registers are now (also) printed as hex.
Only one register is printed per row.
(mips_print_register, do_fp_register_row): Print floating point
registers with mips_print_fp_register().
2003-04-07 18:38:04 +00:00
Nick Clifton
1eec9e335d
oops - omitted from previous delta
2003-04-07 10:09:54 +00:00
Thiemo Seufer
fe59a22369
* write.c (write_relocs): Remove unused variable.
2003-04-07 03:54:00 +00:00
gdbadmin
842865702e
*** empty log message ***
2003-04-07 00:00:32 +00:00