Alan Modra
0800d55de8
daily update
2003-11-09 23:00:05 +00:00
Mark Kettenis
0670c0aaee
See previous commit.
2003-11-09 17:32:32 +00:00
Mark Kettenis
a3640c7517
* glibc-tdep.c, glibc-tdep.h: New files.
...
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o
* config/i386/linux.mt (TDEPFILES): Likewise.
* i386-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* arm-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* Makefile.in (ALLDEPFILES): Add glibc-tdep.c
(glibc_tdep_h): Define.
(glibc-tdep.o): Add dependencies.
(arm-linux-tdep.o): Update dependencies.
(i386-linux-tdep.o): Likewise.
2003-11-09 17:28:08 +00:00
Andrew Cagney
e60e0ab267
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h".
* config/mips/nm-irix6.h: Delete file.
* config/mips/nm-linux.h: Update copyright.
(MIPS_GNULINUX_TARGET): Delete macro.
* config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h".
* config/mips/xm-irix6.h: Delete file.
* config/mips/linux.mh (XM_FILE): Delete definition.
* config/mips/xm-linux.h: Delete file.
2003-11-09 14:29:26 +00:00
Andrew Cagney
181555e940
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_return_value): New function.
(d10v_use_struct_convention): Delete function.
(d10v_store_return_value): Delete function.
(d10v_extract_struct_value_address): Delete function.
(d10v_gdbarch_init): Set "return_value" instead of
"extract_return_value", "store_return_value",
"extract_struct_value_address", and "use_struct_convention".
(RET1_REGNUM): Delete const.
2003-11-09 14:20:55 +00:00
Alan Modra
00ce77f474
* configure.host (HOSTING_LIBS): Group libgcc and libc with
...
--start-group, --end-group pair.
(*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
(am33_2.0-*-linux*): Edit default HOSTING_CRT0.
(arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
(hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
2003-11-09 13:24:45 +00:00
Mark Kettenis
dea0c52f82
From David S. Miller <davem@redhat.com>:
...
* gdbarch.sh (SKIP_SOLIB_RESOLVER): New method.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (generic_skip_solib_resolver): New function.
* arch-utils.h (generic_skip_solib_resolver): New prototype.
* infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
2003-11-09 12:07:16 +00:00
gdbadmin
292da8136c
*** empty log message ***
2003-11-09 00:00:01 +00:00
Alan Modra
512f436a80
daily update
2003-11-08 23:00:05 +00:00
Andrew Cagney
6314a34934
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* top.c (print_gdb_version): Replace STREQ with strcmp.
* valops.c (value_struct_elt_for_reference): Ditto.
(value_struct_elt_for_reference): Ditto.
* symtab.c (gdb_mangle_name): Ditto.
(find_line_symtab): Ditto.
* symmisc.c (maintenance_print_symbols): Ditto.
* symfile.c (symbol_file_command): Ditto.
* stabsread.c (define_symbol, read_type): Ditto.
(cleanup_undefined_types, scan_file_globals): Ditto.
* solib.c (solib_map_sections): Ditto.
* solib-svr4.c (bfd_lookup_symbol): Ditto.
* rs6000-tdep.c (skip_prologue): Ditto.
* p-valprint.c (pascal_value_print): Ditto.
(pascal_object_is_vtbl_ptr_type): Ditto.
* objfiles.c (in_plt_section): Ditto.
* minsyms.c (lookup_minimal_symbol): Ditto.
(compact_minimal_symbols): Ditto.
(find_solib_trampoline_target): Ditto.
* mdebugread.c (parse_type): Ditto.
* language.c (set_language_command): Ditto.
(set_type_command, set_range_command): Ditto.
* f-lang.c (add_common_block): Ditto.
(add_common_block): Ditto.
(find_first_common_named): Ditto.
(patch_all_commons_by_name): Ditto.
* elfread.c (elf_locate_sections): Ditto.
(elf_locate_sections): Ditto.
(elfstab_offset_sections): Ditto.
* dwarf2read.c (dwarf2_locate_sections): Ditto.
* dbxread.c (add_old_header_file): Ditto.
(find_corresponding_bincl_psymtab): Ditto.
(read_dbx_symtab, process_one_symbol): Ditto.
* coffread.c (patch_opaque_types): Ditto.
* cli/cli-decode.c (delete_cmd): Ditto.
* cli/cli-cmds.c (pwd_command, list_command): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* breakpoint.c (bpstat_stop_status): Ditto.
(clear_command, breakpoint_re_set_one): Ditto.
2003-11-08 00:13:03 +00:00
gdbadmin
fe62ef869f
*** empty log message ***
2003-11-08 00:00:02 +00:00
Alan Modra
680ded4240
daily update
2003-11-07 23:00:06 +00:00
Andrew Cagney
49df298f1f
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* bcache.h: Update copyright. Add comments on bcache VS hashtab.
* bcache.c (struct bstring): Make "length" an unsigned short, add
"half_hash".
(struct bcache): Add "half_hash_error_count".
(bcache): Compute and save the "half_hash". Compare the
"half_hash" before comparing the length. Update
half_hash_error_count.
2003-11-07 22:04:39 +00:00
Andrew Cagney
f168dd8007
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* inftarg.c (child_xfer_partial): New function
(init_child_ops): Set "to_xfer_partial".
2003-11-07 21:33:37 +00:00
Andrew Cagney
05580c65ad
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux,
set "return_value" instead of "use_struct_convention".
(ppc_linux_use_struct_convention): Delete function.
(ppc_linux_return_value): New function.
* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function.
(ppc_sysv_abi_broken_return_value): New function.
(do_ppc_sysv_return_value): Add "gdbarch" parameter.
(ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop
static.
(ppc_sysv_abi_extract_return_value): Delete function.
(ppc_sysv_abi_broken_extract_return_value): Delete function.
(ppc_sysv_abi_store_return_value): Delete function.
(ppc_sysv_abi_broken_store_return_value): Delete function.
(ppc_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_extract_return_value): Delete function.
(ppc64_sysv_abi_store_return_value): Delete function.
* ppcnbsd-tdep.c (ppcnbsd_return_value): New function.
(ppcnbsd_init_abi): Set "return_value", instead of
"use_struct_convention", "extract_return_value", and
"store_return_value".
(ppcnbsd_use_struct_convention): Delete function.
* ppc-tdep.h (ppc64_sysv_abi_return_value): Declare.
(ppc_sysv_abi_return_value): Declare.
(ppc_sysv_abi_broken_return_value): Declare.
(ppc_sysv_abi_use_struct_convention): Delete.
(ppc_sysv_abi_store_return_value): Delete.
(ppc_sysv_abi_extract_return_value): Delete.
(ppc_sysv_abi_broken_store_return_value): Delete.
(ppc_sysv_abi_broken_extract_return_value): Delete.
(ppc64_sysv_abi_use_struct_convention): Delete.
(ppc64_sysv_abi_extract_return_value): Delete.
(ppc64_sysv_abi_store_return_value): Delete.
* rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV,
set "return_value" instead of "extract_return_value",
"store_return_value", and "use_struct_convention".
2003-11-07 20:44:51 +00:00
Christian Groessler
e2a2ebaad5
2003-11-07 Christian Groessler <chris@groessler.org>
...
* doc/c-z8k.texi: Document command-line options. Fix byte
register names. Document '.z8001' and '.z8002' directives.
Extend addressing modes documentation.
2003-11-07 20:43:15 +00:00
Mark Kettenis
22c7ba1aba
* dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.
2003-11-07 20:36:15 +00:00
Mark Kettenis
1763fba4a3
* fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
...
fscanf.
2003-11-07 16:30:26 +00:00
Mark Kettenis
fc07cc2d45
* fbsd-proc.c: Fix formatting.
2003-11-07 15:57:22 +00:00
Elena Zannoni
6a90a18e85
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
2003-11-07 15:46:33 +00:00
Nick Clifton
f24ddbddc5
Use consistent error messages for missing files.
...
Detect directories where an ordinary file is expected.
2003-11-07 12:19:34 +00:00
Kevin Buettner
65ed7f0a33
Fix typo in previous patch.
2003-11-07 06:00:07 +00:00
Kevin Buettner
6a748db690
Handle iacc0 as a pseudo-register.
2003-11-07 05:54:51 +00:00
gdbadmin
c8746e3c1b
*** empty log message ***
2003-11-07 00:00:01 +00:00
Alan Modra
42cc5353c9
daily update
2003-11-06 23:00:04 +00:00
Andrew Cagney
bf896cb059
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
2003-11-06 22:54:02 +00:00
Elena Zannoni
0b915e9cc2
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
...
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.
2003-11-06 20:50:47 +00:00
Elena Zannoni
d7e4b55f6b
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
2003-11-06 20:39:46 +00:00
Andrew Cagney
0b603eba4e
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
Jeff Johnston <jjohnstn@redhat.com>
* target.c (add_target): Only set "to_xfer_partial" when NULL.
(init_dummy_target): Set "to_xfer_partial".
2003-11-06 19:56:26 +00:00
Andrew Cagney
9cedbfec95
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
2003-11-06 19:09:46 +00:00
Daniel Jacobowitz
26bb91f300
* breakpoint.c (insert_bp_location, allocate_bp_location): Make
...
static.
2003-11-06 18:35:05 +00:00
Daniel Jacobowitz
0bde7532f1
* breakpoint.c (remove_breakpoint): Take an bp_location
...
instead of a breakpoint argument. Check the bp_location's type.
Fix a reversed condition for hardware breakpoints.
(insert_bp_location): Update call to remove_breakpoint.
(remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS.
(remove_hw_watchpoints): Likewise.
(reattach_breakpoints): Likewise.
(detach_breakpoints): Likewise.
(delete_breakpoint): Likewise.
2003-11-06 18:28:33 +00:00
Daniel Jacobowitz
075f65829c
* breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
...
(beakpoint_init_inferior): Likewise.
(breakpoint_here_p): Likewise. Only check addresses for software
or hardware breakpoints.
(breakpoint_inserted_here_p): Likewise.
(breakpoint_thread_match): Likewise. Correct comment.
(bpstat_have_active_hw_watchpoints): Likewise.
(check_duplicates): Likewise.
2003-11-06 18:27:34 +00:00
Daniel Jacobowitz
879bfdc20d
* breakpoints.c (insert_bp_location): New function, broken out
...
from insert_breakpoints. Work on an bp_location instead of a
breakpoint.
(insert_breakpoints): Use it.
2003-11-06 18:26:17 +00:00
Daniel Jacobowitz
cf3a9e5b48
* breakpoint.h (struct bp_location): Add section.
...
(struct breakpoint): Remove section.
* breakpoint.c (insert_breakpoints, remove_breakpoint)
(breakpoint_here_p, breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates, set_raw_breakpoint)
(clear_command, delete_breakpoint, breakpoint_re_set_one): Access
section through loc.
2003-11-06 18:24:55 +00:00
Daniel Jacobowitz
ffce0d52cd
* breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS
...
instead of ALL_BREAKPOINTS. Check for software breakpoints only.
2003-11-06 18:22:45 +00:00
Daniel Jacobowitz
e049a4b52e
* breakpoint.c (allocate_bp_location): Take bpt and bp_type
...
arguments. Initialize owner and type for the new breakpoint
location item.
(set_raw_breakpoint): Update call to allocate_bp_location.
2003-11-06 18:20:52 +00:00
Daniel Jacobowitz
adeee247f4
Correct typo in previous entry
2003-11-06 17:57:32 +00:00
Daniel Jacobowitz
7cc221efff
* breakpoint.h (struct bp_location): Add a chain pointer.
...
* breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New
macros.
(bp_location_chain): New variable.
(allocate_bp_location): New function.
(set_raw_breakpoint): Use it.
(delete_breakpoint): Remove ->loc from the bp_location_chain.
2003-11-06 17:26:18 +00:00
Daniel Jacobowitz
5cab636d14
* breakpoint.h (enum bp_loc_type, struct bp_location): New.
...
(struct breakpoint): Remove address, shadow_contents, inserted,
and duplicate. Add a struct bp_location.
* breakpoint.c (condition_command, read_memory_nobpt)
(insert_breakpoints, remove_breakpoints, remove_hw_watchpoints)
(reattach_breakpoints, update_breakpoints_after_exec)
(detach_breakpoints, remove_breakpoint, mark_breakpoints_out)
(breakpoint_init_inferior, breakpoint_here_p)
(breakpoint_inserted_here_p, deprecated_frame_in_dummy)
(breakpoint_thread_match, bpstat_stop_status)
(bpstat_have_active_hw_watchpoints, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates)
(make_breakpoint_permanent, create_thread_event_breakpoint)
(disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs)
(set_longjmp_resume_breakpoint, mention, create_breakpoints)
(watch_command_1, print_one_exception_catchpoint)
(clear_command, breakpoint_re_set_one): Adjust member accesses to
use the breakpoint's ->loc.
(set_raw_breakpoint): Likewise. Initialize ->loc.
(delete_breakpoint): Likewise. Free ->loc.
2003-11-06 17:24:38 +00:00
Nick Clifton
0bbf2aa424
* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
...
(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
mav_mvax_table, mav_dspc_table): Initialise new field.
(insert_reg_alias): Initialise new field.
(md_pseudo_table): Add "unreq" entry.
(s_unreq): New function: Undo the effects of a previous .req.
* doc/c-arm.texi: Document new pseudo op.
* NEWS: Mention new feature.
* testsuite/gas/arm/req.s: New test file. Check .req and .unreq psuedo ops.
* testsuite/gas/arm/req.l: Expected error output from req.s test.
* testsuite/gas/arm/copro.d: Set target architecture for objdump so that the
test will work on architectures which cannot encode higher arm architecture
types in their file headers.
* testsuite/gas/arm/arm.exp: Run new req.s test.
Skip thumb instruction test for PE targets which do not support
thumb relocations.
* testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale
targets - it is no longer needed.
2003-11-06 15:30:05 +00:00
Alan Modra
9abc968f91
* elf32-ppc.c (ppc_elf_install_value): Delete.
...
(shared_stub_entry, stub_entry): Make them arrays of ints.
Remove initial branch.
(ppc_elf_relax_section): Write one branch around all trampolines
instead. Correct bogus R_PPC_PLTREL24 handling. Correct
branch range check. Only use shared_stub_entry when shared.
Test that branches can reach stubs. Write trampolines out at
end so that just one realloc is used. Handle little-endian
mode. Move relevant code from ppc_elf_install_value to here.
(ppc_elf_relocate_section): Move code handling RELAX32 from
ppc_elf_install_value to here.
2003-11-06 14:30:11 +00:00
Nick Clifton
1be5957932
Fix 'the the' typo
2003-11-06 11:58:58 +00:00
H.J. Lu
f4fa50da5d
2003-11-05 H.J. Lu <hongjiu.lu@intel.com>
...
* m68k-opc.c (m68k_opcodes): Reorder "fmovel".
2003-11-06 04:32:07 +00:00
Andrew Cagney
4c7d882ea3
2003-11-05 Andrew Cagney <cagney@redhat.com>
...
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete
macro.
* config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro.
* config/i386/tm-cygwin.h
(LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro.
* config/powerpc/tm-linux.h
(AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro.
(at_subroutine_call_instruction_target): Delete declaration.
* config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro.
* config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro.
* config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
2003-11-06 03:29:49 +00:00
Alan Modra
f31a141e8d
* elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
...
(ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate
cases.
(shared_stub_entry): Correct opcode.
(ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs.
(ppc_elf_relocate_section): Handle them.
2003-11-06 02:58:40 +00:00
Alan Modra
9162364a39
* ppc.h (R_PPC_RELAX32PC): Define.
2003-11-06 02:57:08 +00:00
Andrew Cagney
7be0c53637
2003-11-05 Andrew Cagney <cagney@redhat.com>
...
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with
"struct bfd_section" and "struct bfd".
* target.h (struct section_table): Ditto.
* rs6000-nat.c (xcoff_relocate_core): Ditto.
* solib-svr4.c (elf_locate_base): Ditto.
* pa64solib.c (dld_cache_t): Ditto.
* objfiles.h (struct obj_section): Ditto.
* objfiles.c (add_to_objfile_sections): Ditto.
* exec.c (bfdsec_to_vmap): Ditto.
(add_to_section_table): Ditto.
(build_section_table): Ditto.
* corelow.c (get_core_register_section): Ditto.
* coffread.c (find_linenos): Ditto.
* elfread.c (elf_interpreter): Delete #if0'd function.
* mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS.
* config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro.
* config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro.
* config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro.
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
* wince.c (_initialize_wince): Fix multi-line string.
* ia64-tdep.c (floatformat_valid): Convert to ISO C.
2003-11-06 02:52:28 +00:00
Michael Chastain
2fe4e8d0d9
2003-11-05 Michael Chastain <mec@shout.net>
...
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
2003-11-06 02:08:08 +00:00
gdbadmin
19d87da6c7
*** empty log message ***
2003-11-06 00:00:31 +00:00