Mark Kettenis
086ec9ebe9
* configure.in: Check for <sys/types.h>. Check return and
...
argument types of ptrace.
* configure, config.in: Regenerate.
2004-08-09 19:20:13 +00:00
Mark Kettenis
6a89fc9c75
* gdb.base/sigaltstack.exp: Provide proper anchoring.
2004-08-09 19:09:30 +00:00
Jim Blandy
09991fa0ee
* rs6000-tdep.c (set_sim_regno, init_sim_regno_table,
...
rs6000_register_sim_regno): Doc fixes.
2004-08-09 18:43:21 +00:00
Michael Chastain
1482e0de82
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi-watch.exp: Update copyright years.
2004-08-09 16:32:44 +00:00
Daniel Jacobowitz
1a5ce3f34d
PR gdb/1738
...
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
from a breakpoint with a pending signal.
2004-08-09 13:17:34 +00:00
Daniel Jacobowitz
04f6ecf279
PR gdb/1736
...
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
* gdb.base/sigaltstack.exp (finish_test): Consume output until
the prompt.
* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2004-08-09 13:16:16 +00:00
Daniel Jacobowitz
54d90d3515
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2004-08-09 13:15:26 +00:00
Jakub Jelinek
ba3bee0b4e
* elf64-x86-64.c (elf64_x86_64_relocate_section): For -fno-pic
...
error, test input_section flags rather than sec.
2004-08-09 08:53:51 +00:00
Alan Modra
40e45c8b6c
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
...
.toc is too large on relocatable linking.
2004-08-09 06:48:37 +00:00
Alan Modra
8387904def
* elf-bfd.h (struct elf_backend_data): Add
...
elf_backend_archive_symbol_lookup.
(_bfd_elf_archive_symbol_lookup): Declare.
* elflink.c (_bfd_elf_archive_symbol_lookup): New function..
(elf_link_add_archive_symbols): ..extracted from here. Call the
backend version.
* elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default.
(elfNN_bed): Init new field.
* elf64-ppc.c (elf_backend_check_directives): Define.
(elf_backend_archive_symbol_lookup): Define.
(struct ppc_link_hash_table): Add tls_get_add_fd. Make tls_get_add
a ppc_link_hash_entry pointer.
(get_fdh): Move.
(ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions.
(add_symbol_adjust, ppc64_elf_check_directives): New functions.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust,
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup,
ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub,
ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function
descriptor symbols.
2004-08-09 06:02:03 +00:00
Joel Brobecker
fed7ba43e0
* mips-tdep.c: Include "floatformat.h".
...
(n32n64_floatformat_always_valid): New function.
(floatformat_n32n64_long_double_big): New constant.
(mips_gdbarch_init): Set size and format of long double
for N32 and N64 ABIs.
* Makefile.in (mips-tdep.o): Update dependencies.
2004-08-09 05:45:20 +00:00
Alan Modra
8843416a51
* elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment.
...
(ppc64_elf_add_symbol_hook): Test for NULL section.
(get_sym_h): Formatting.
(ppc64_elf_size_stubs): Include reloc addend in value stored as
stub target_value.
2004-08-09 05:38:48 +00:00
Alan Modra
b25116a9c7
* elf64-ppc.c (ppc64_elf_relocate_section): Combine handling of
...
long branch stubs with code handling plt and r2off branch stubs.
2004-08-09 05:12:14 +00:00
Alan Modra
ccfa59eaa0
bfd/
...
* elf-bfd.h (_bfd_elf_gc_mark): Declare.
* elflink.c (elf_link_input_bfd): Formatting.
(_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust
all callers.
* elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry.
(link_hash_newfunc): Don't set it.
(ppc64_elf_copy_indirect_symbol): Nor copy it.
(ppc64_elf_mark_entry_syms): Delete.
(ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd
sections. Use get_opd_info.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete.
ld/
* emultempl/ppc64elf.em (ppc_after_open): Delete.
(LDEMUL_AFTER_OPEN): Don't define.
2004-08-09 03:14:12 +00:00
Nathanael Nerode
f2420beaba
Lost ChangeLog entry:
...
2004-08-01 Robert Millan <robertmh@gnu.org>
* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.
2004-08-09 03:01:56 +00:00
Alan Modra
4f800a42be
* elf64-ppc.c (adjust_opd_syms): Fix merge error.
2004-08-09 02:59:15 +00:00
Alan Modra
06da1e8e7b
* elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak.
...
(func_desc_adjust): Don't set have_undefweak.
(ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr.
(ppc64_elf_relocate_section): NOP out calls to undefweak functions.
2004-08-09 00:54:28 +00:00
Alan Modra
34814b9fa0
* elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" a
...
"struct ppc_link_hash_entry *". Adjust all references.
(ppc64_elf_hide_symbol): Correct a comment.
2004-08-09 00:40:48 +00:00
Alan Modra
4025353c27
* elf64-ppc.c (get_opd_info): New function.
...
(adjust_opd_syms): Use get_opd_info. Define removed symbols as zero.
(ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot
before calling get_fdh. Test fdh rather than h before dereferencing
fdh. Mark removed symbols in opd_adjust.
(ppc64_elf_tls_optimize): Don't bother with opd adjustment here.
(ppc64_elf_relocate_section): Use get_opd_info, and handle removed
opd symbols.
(ppc64_elf_output_symbol_hook): Likewise.
2004-08-09 00:22:53 +00:00
Alan Modra
ead80d2530
daily update
2004-08-09 00:00:06 +00:00
gdbadmin
1161513d28
*** empty log message ***
2004-08-09 00:00:02 +00:00
Daniel Jacobowitz
d2f6abb049
PR gdb/1736
...
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
for i?86-*-linux*.
2004-08-08 23:14:33 +00:00
Daniel Jacobowitz
5598c03d21
* gdb.arch/i386-prologue.exp: Compile without debug information.
2004-08-08 22:15:08 +00:00
Andrew Cagney
2f9b146ed8
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to
print. Improve script's error messages.
* gdbarch.h: Re-generate.
2004-08-08 20:50:57 +00:00
Andrew Cagney
456fcf94f7
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (pformat): New function.
(float_format, double_format, long_double_format): List with bit
members. Use pformat when printing.
* gdbarch.c, gdbarch.h: Re-generate.
2004-08-08 19:49:43 +00:00
Nathan J. Williams
69e9e646da
* ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,
...
"gdbcore.h", "regcache.h", and "bsd-kvm.h".
(ppcnbsd_supply_pcb): New function.
(_initialize_ppcnbsd_nat): New prototype and function.
* config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (ppcnbsd-nat.o): Update dependencies.
2004-08-08 19:27:10 +00:00
Andrew Cagney
5ef2d0aac2
2004-08-08 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of
BE/LE floating-point types.
* gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single)
(builtin_type_ieee_double, builtin_type_ia64_quad)
(builtin_type_ia64_spill): Declare.
* doublest.c (_initialize_doublest, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Add tables
of LE/BE floatformats.
* doublest.h: (struct floatformat, floatformat_ieee_single)
(floatformat_ieee_double, floatformat_arm_ext)
(floatformat_ia64_spill, floatformat_ia64_quad): Declare.
2004-08-08 17:18:16 +00:00
Michael Chastain
c6fee70509
2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
rather than asking gdb to search.
2004-08-08 16:16:42 +00:00
Mark Kettenis
ecac404d3f
* i386gnu-nat.c (gnu_store_registers): Fix typo.
2004-08-08 15:27:56 +00:00
Mark Kettenis
9b8607ced1
* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect
...
instead of regcache_raw_supply when storing the registers.
2004-08-08 15:03:13 +00:00
Mark Kettenis
f6052080a0
* i386gnu-nat.c: Update copyright year.
...
(gnu_store_registers): Don't use deprecated_registers and
deprecated_registers_valid. Use regcache_valid_p and
regcache_raw_supply instead.
2004-08-08 12:50:37 +00:00
Mark Kettenis
1777782384
* vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of
...
frame_pc_unwind.
2004-08-08 10:38:29 +00:00
Mark Kettenis
5240ceac28
* procfs.c (procfs_pid_to_str): Remove redundant and unused
...
variables. Incapitalized "process".
2004-08-08 01:00:55 +00:00
Alan Modra
f6428d7384
daily update
2004-08-08 00:00:06 +00:00
gdbadmin
1ef6dfb598
*** empty log message ***
2004-08-08 00:00:02 +00:00
Mark Kettenis
5c7f2947f0
* configure.in: Add cursesX to the list of possible curses libs.
...
Add cursesX.h to the list of possible curses headers.
* configure, config.in: Regenerate.
2004-08-07 22:12:08 +00:00
Nathan J. Williams
da7d81e386
* configure.in: Test for struct lwp in <sys/lwp.h>
...
* bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use
the offset of l_addr in struct lwp.
2004-08-07 21:52:15 +00:00
Nathan J. Williams
7f245d65f7
* bsd-kvm.c: Include "gdbcore.h"
...
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-07 21:22:41 +00:00
Andrew Cagney
70bd8e24cc
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (build_flt, build_complex): New functions.
(gdbtypes_post_init): Use.
2004-08-07 21:03:33 +00:00
Andrew Cagney
9b0dea39fa
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-07 20:06:28 +00:00
Andrew Cagney
5cf7abace1
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
through to builtin_type_uint128.
2004-08-07 19:53:06 +00:00
Andrew Cagney
64d2b26d0a
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-07 19:45:45 +00:00
Andrew Cagney
7ad6570da5
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to
builtin_uint128.
* gdbtypes.c (gdbtypes_post_init): Update.
(build_gdbtypes): Move initialization of builtin_type_int0
through to builtin_type_uint128 from here ...
(_initialize_gdbtypes): ... to here.
* d10v-tdep.c (d10v_register_type): Update.
2004-08-07 19:25:58 +00:00
Andrew Cagney
47b3f45632
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* doublest.c: Update copyright.
(floatformat_from_length): Call error when floatformat is NULL.
(extract_floating_by_length): Remove NULL fmt check.
(store_floating_by_length): Ditto.
2004-08-07 17:10:33 +00:00
Andrew Cagney
0a8146bf61
2004-08-07 Andrew Cagney <cagney@gnu.org>
...
* regcache.c (regcache_raw_read): For the moment, #ifdef assert
that the register is valid.
2004-08-07 16:33:54 +00:00
Alan Modra
6fec4532f2
daily update
2004-08-07 00:00:07 +00:00
gdbadmin
9641a412f9
*** empty log message ***
2004-08-07 00:00:03 +00:00
Mark Kettenis
8e6bed0513
* i386-linux-tdep.c (i386_linux_sigtramp_start)
...
(i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to
struct frame_info *. Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for
changed signature of i386_linux_sigtramp_start and
i386_linux_rt_sigtramp_start.
2004-08-06 20:58:28 +00:00
Mark Kettenis
24f9f5e353
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument from
...
CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory
instead of deprecated_read_memory_nobpt.
(i386nbsd_sigtramp_p): Adjust for changed signature of
i386nbsd_sigtramp_offset.
2004-08-06 20:54:16 +00:00
Mark Kettenis
c822af0c70
* i386obsd-tdep.c (i386obsd_sigtramp_p): Use
...
safe_frame_unwind_memory instead of target_read_memory.
2004-08-06 20:51:01 +00:00