Kazu Hirata
2d2255b58e
* config/tc-a29k.h: Fix comment typos.
...
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-dlx.h: Likewise.
2003-11-21 00:24:40 +00:00
gdbadmin
2d8c1c6261
*** empty log message ***
2003-11-21 00:00:32 +00:00
Alan Modra
d805683360
daily update
2003-11-20 23:00:06 +00:00
Mark Kettenis
c5e656c1c7
* i386-tdep.c (i386_extract_return_value,
...
i386_store_return_value): Add gdbarch argument. Use it instead of
determining it from REGCACHE. Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
2003-11-20 22:37:50 +00:00
DJ Delorie
0d78efdfab
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
...
sections.
2003-11-20 20:08:20 +00:00
Jim Blandy
43dd9340d4
* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
...
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
2003-11-20 18:42:21 +00:00
Jim Blandy
515cc92ea5
* osabi.c (_initialize_gdb_osabi): Don't return before registering
...
the 'set osabi' and 'show osabi' commands.
2003-11-20 18:37:20 +00:00
Andrew Cagney
6882279b13
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp: Handle and recover from internal errors.
Replace "foo${n}" with "foo<n>" in test messages.
2003-11-20 18:03:48 +00:00
Andrew Cagney
e53890ae03
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/structs.exp: Update copyright. Rewrite.
* gdb.base/structs.c: Update copyright. Rewrite.
2003-11-20 17:11:55 +00:00
Andrew Cagney
2b211c59a2
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.
2003-11-20 15:58:08 +00:00
Andrew Cagney
039cf96dc4
2003-11-20 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20 15:36:34 +00:00
Martin Schwidefsky
90ced0dda1
* elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
...
section for reloc output and subtract the output section's address
from the addend when converting a relocation into one against a
section symbol.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
2003-11-20 09:54:07 +00:00
Kazu Hirata
600e9c9985
* config/tc-h8300.c: Make some functions and global
...
variables static appropriately.
2003-11-20 04:25:26 +00:00
Kazu Hirata
d492b58e48
* config/obj-ieee.c: Remove duplicate prototypes.
...
* config/tc-h8300.c: Likewise.
2003-11-20 04:12:19 +00:00
Kazu Hirata
b54a33920b
* config/tc-h8300.c: Convert to ISO-C.
...
* config/tc-h8300.h: Likewise.
2003-11-20 03:31:36 +00:00
Kazu Hirata
fe01a20a70
* config/tc-mcore.h: Remove prototypes already in tc.h.
...
* config/tc-tic4x.c: Likewise.
2003-11-20 03:11:18 +00:00
DJ Delorie
dd9d4b48fd
merge from gcc
2003-11-20 02:01:32 +00:00
Kazu Hirata
43b5c447a2
* config/tc-arc.c: Remove a local prototype of atof_ieee.
...
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.
2003-11-20 01:36:49 +00:00
Kazu Hirata
aaa2624bf8
* config/obj-aout.h: Fix comment typos.
...
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
2003-11-20 00:01:55 +00:00
gdbadmin
43d6b3f90e
*** empty log message ***
2003-11-20 00:01:02 +00:00
Bob Wilson
cda2eb9eeb
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
...
call to dwarf2_emit_insn.
2003-11-19 23:55:06 +00:00
Alan Modra
d6bfa74209
daily update
2003-11-19 23:00:07 +00:00
DJ Delorie
d9441a1fb7
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
...
* Makefile.in: Regenerate.
2003-11-19 19:56:22 +00:00
Kazu Hirata
122d081a38
* h8300-dis.c (print_colon_thingie): Remove.
2003-11-19 19:44:58 +00:00
Andrew Cagney
eac98b22ae
2003-11-19 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
KFAIL.
2003-11-19 18:34:52 +00:00
Mark Kettenis
67455b2a34
New testcase for PR backtrace/1435.
...
* gdb.arch/i386-unwind.exp: New file.
* gdb.arch/i386-unwind.c: New file.
2003-11-19 17:42:43 +00:00
Mark Kettenis
3f1d7f1617
* frame.c (get_prev_frame): Use result from
...
get_frame_address_in_block instead of get_frame_pc as argument to
inside_main_func. Fixes PR backtrace/1435.
2003-11-19 17:35:46 +00:00
Andrew Cagney
667e784fcb
2003-11-19 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Handle "void", "legacy" and "unknown
location" return values separatly.
* values.c (using_struct_return): Return 0 for a "void" return
type. Mention "register_value_being_returned".
(register_value_being_returned): Mention "using_struct_return".
2003-11-19 16:27:56 +00:00
DJ Delorie
0976f6a782
merge from gcc
2003-11-19 16:19:14 +00:00
Daniel Jacobowitz
4cecd73941
* dwarf2read.c (offreg, basereg, isderef, frame_base_reg)
...
(frame_base_offset): Delete.
(read_func_scope): Delete call to decode_locdesc.
(decode_locdesc): Update comments. Don't set the removed variables.
Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and
DW_OP_fbreg support.
2003-11-19 15:08:01 +00:00
Alan Modra
3b9ad1cc1f
* objdump.c: Wrap long lines, init vars separately from decl.
...
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.
2003-11-19 08:21:14 +00:00
Alan Modra
af04c4eaf2
* ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.
...
* ld-powerpc/tlsso32.d: Likewise.
2003-11-19 03:46:08 +00:00
Jim Wilson
5a46fe39b3
Fix IA-64 linker failure reported by Andreas Schwab.
...
* ldlang.c (lang_process): Move lang_reset_memory_regions call after
lang_do_assignments call.
2003-11-19 02:40:55 +00:00
Jim Wilson
55936540a7
Fix -pie core dump with .rela.opd section.
...
bfd/ChangeLog
* elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
(elfNN_ia64_size_dynamic_sections): When stripping sections, check
for ia64_info->rel_fptr_sec.
ld/ChangeLog
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.
2003-11-19 01:06:13 +00:00
gdbadmin
1c620505b0
*** empty log message ***
2003-11-19 00:00:02 +00:00
Alan Modra
ccc411c1e2
daily update
2003-11-18 23:00:05 +00:00
Daniel Jacobowitz
6b992462c7
* dwarf2read.c (optimized_out, islocal): Remove.
...
(decode_locdesc): Update comments. Don't set optimized_out
or islocal.
2003-11-18 21:51:38 +00:00
Maciej W. Rozycki
1abe91b1db
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
...
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.
* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.
* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".
2003-11-18 21:22:57 +00:00
DJ Delorie
5659daa1d9
merge from gcc
2003-11-18 19:10:05 +00:00
Alan Modra
082c50f897
* elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
...
size is zero.
2003-11-18 04:14:15 +00:00
gdbadmin
3441dc731b
*** empty log message ***
2003-11-18 00:00:32 +00:00
Alan Modra
ccb95e68c5
daily update
2003-11-17 23:00:05 +00:00
Jeff Johnston
968d1cb408
2003-11-17 Jeff Johnston <jjohnstn@redhat.com>
...
David Mosberger <davidm@hpl.hp.com>
* ia64-tdep.c: Include elf.h.
[HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and
libunwind-ia64.h.
(ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
(ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
(ia64_is_fpreg, ia64_access_reg): Ditto.
(ia64_access_fpreg, ia64_access_mem): Ditto.
(get_kernel_table): Ditto.
(ia64_find_unwind_table): Ditto.
(ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
(ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
(ia64_libunwind_frame_prev_register): Ditto.
(ia64_libunwind_frame_sniffer): Ditto.
(ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
sniffer. Register libunwind functions needed by generic
libunwind frame code using libunwind_frame_set_descr().
2003-11-17 21:38:36 +00:00
Daniel Jacobowitz
3addb0a9e8
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy
...
ELF_LINK_HASH_NEEDS_PLT. Fix formatting.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
(elf_backend_copy_indirect_symbol): Don't define.
2003-11-17 21:31:11 +00:00
Andrew Cagney
b496706087
Oops, accidental commit, reverting.
2003-11-17 15:09:19 +00:00
Andrew Cagney
853d6e5b6d
2003-11-17 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (compiler_info): New global.
(test_compiler_info): New function.
(get_compiler_info): Set compiler_info.
* lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
"compiler_info" to gcc-<major>-<minor>.
2003-11-17 15:00:20 +00:00
Daniel Jacobowitz
d29caefc4b
* breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a
...
bp_shlib_disabled breakpoint if there is a shared library mapped
at its expected address.
2003-11-17 00:55:49 +00:00
gdbadmin
593b2cd889
*** empty log message ***
2003-11-17 00:00:01 +00:00
Andrew Cagney
96cb1c2ff6
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* configure.tgt: Delete mips*tx39*-elf*.
* config/mips/tm-tx39.h: Delete file.
* config/mips/tx39.mt: Delete file.
* config/mips/tx39.mt: Delete file.
2003-11-16 23:08:36 +00:00
Alan Modra
0e9d87aaa9
daily update
2003-11-16 23:00:04 +00:00