aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-17 * ada-lang.c (scan_discrim_bound): Name first argument.Stephane Carrez2-3/+7
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable declared by ALL_BLOCK_SYMBOLS.
2003-06-17 * ada-tasks.c (find_function_in_inferior): Don't declare it.Stephane Carrez3-6/+11
("regcache.h"): Include it. * ada-lex.l (block_lookup): Replace VAR_NAMESPACE with VAR_DOMAIN.
2003-06-17gdb/Daniel Jacobowitz12-10/+154
* NEWS: Mention gdbserver detach change and "disconnect" command. * infcmd.c (disconnect_command): New function. (_initialize_infcmd): Add ``disconnect'' command. * remote.c (remote_async_detach): Delete. (remote_detach): Merge remote_async_detach. (remote_disconnect): New. (init_remote_ops): Set to_disconnect. (init_remote_cisco_ops): Likewise. (init_remote_async_ops): Likewise. Use remote_detach. * target.c (cleanup_target): Default to_disconnect. (update_current_target): Inherit to_disconnect. (target_disconnect, debug_to_disconnect): New functions. (setup_target_debug): Set to_disconnect. * target.h (struct target_ops): Add to_disconnect. (target_disconnect): Add prototype. gdbserver/ * linux-low.c: Move comment to linux_thread_alive where it belonged. (linux_detach_one_process, linux_detach): New functions. (linux_target_ops): Add linux_detach. * server.c (main): Handle 'D' packet. * target.h (struct target_ops): Add "detach" member. (detach_inferior): Define. mi/ * mi-cmds.c (mi_cmds): Add "-target-disconnect".
2003-06-17 * breakpoint.c (insert_catchpoint): New function.Daniel Jacobowitz2-23/+41
(insert_breakpoints): Use catch_exceptions to call insert_catchpoint. Disable catchpoints if they fail to insert.
2003-06-17 * symfile.c (reread_symbols): Clear sym_private.Daniel Jacobowitz2-0/+5
2003-06-172003-06-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-1/+13
* trad-frame.h (struct frame_info): Add opaque declaration. * remote-fileio.h (struct cmd_list_element): Add opaque declaration. * h8300-tdep.c (h8300s_register_name): Avoid C++ // style comments.
2003-06-17* nto-tdep.c (nto_map_arch_to_cputype): Recognize powerpc.Kris Warkentin2-7/+16
(nto_find_and_open_solib): Likewise. (nto_init_solib_absolute_prefix): Likewise. (_initialize_nto_tdep): Fix indentation.
2003-06-17 * remote.c (remote_prepare_to_store): Replace call toDaniel Jacobowitz2-5/+14
deprecated_read_register_bytes with multiple regcache_raw_read calls.
2003-06-17* i386-nto-tdep.c (i386nto_sigcontext_addr): Make sp a CORE_ADDR.Kris Warkentin2-1/+5
2003-06-17* i386-nto-tdep.c (i386nto_sigcontext_addr): Declare sp before using.Kris Warkentin2-0/+5
2003-06-17merge from gccDJ Delorie2-11/+4
2003-06-17* ppc-linux-tdep.c: "Linux" -> "GNU/Linux"Jim Blandy2-3/+7
2003-06-17 * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned relocAlan Modra2-27/+22
optimizations earlier.
2003-06-17 * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index.Alan Modra2-64/+99
Restore previous input_list type. (ppc64_elf_link_hash_table_create): Undo last change. (ppc64_elf_setup_section_lists): Reinstate code setting up input lists per output section, but don't bother with bfd_abs_section marker. (ppc64_elf_next_input_section): Adjust for multiple input section lists. (group_sections): Likewise.
2003-06-17 * elf64-ppc.c (ppc64_elf_relocation_section): EnsureJakub Jelinek2-1/+7
*r_offset == r_addend for RELATIVE relocs against .got.
2003-06-17 * elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs.Alan Modra2-0/+24
2003-06-17Catch and ignore an ARM_26D reloc.Nick Clifton2-0/+12
2003-06-17Tweak expected results for i386-pc-cygwin target.Nick Clifton3-4/+10
2003-06-17Allow system-specific gunk after canonical file format.Nick Clifton8-7/+18
2003-06-17* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.Nick Clifton4-9/+10
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.
2003-06-17(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_usedNick Clifton2-3/+10
array to allow for the accessing the largest element.
2003-06-17 * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. ModifyAlan Modra2-123/+85
input_list. (ppc64_elf_link_hash_table_create): Init input_list here. (ppc64_elf_setup_section_lists): Remove code setting up input lists per output section. Set toc_off for abs and other standard sections. (ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc. (ppc64_elf_next_input_section): Adjust for single input section list. Don't set toc_curr from input bfds that haven't set elf_gp. (group_sections): Adjust for single input section list.
2003-06-17* avr-tdep.c (avr_extract_return_value): New function.Theodore A. Roth2-0/+39
(avr_gdbarch_init): Set extract_return_value method.
2003-06-17 * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.Alan Modra2-1/+7
2003-06-17 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.Alan Modra2-0/+10
2003-06-17*** empty log message ***gdbadmin1-1/+1
2003-06-17daily updateAlan Modra1-1/+1
2003-06-162003-06-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-14/+68
* frame.h (deprecated_get_next_frame_hack): Declare. * frame.c (legacy_saved_regs_prev_register): Only require DEPRECATED_FRAME_INIT_SAVED_REGS when it is needed. Assert that there are always saved regs. (deprecated_generic_get_saved_register): Do not require DEPRECATED_FRAME_INIT_SAVED_REGS. (legacy_get_prev_frame): Do not require DEPRECATED_FRAME_CHAIN, use frame ID unwind instead. (deprecated_get_next_frame_hack): New function.
2003-06-16 * h8300-tdep.c (h8300_push_arguments): Remove. Substitute by...Corinna Vinschen2-41/+29
(h8300_push_dummy_call): ...this function. Some minor optimization. (h8300_push_return_address): Remove. (h8300_gdbarch_init): Remove calls to set_gdbarch_deprecated_dummy_write_sp, set_gdbarch_deprecated_push_arguments and set_gdbarch_deprecated_push_return_address. Add call to set_gdbarch_push_dummy_call.
2003-06-16 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM): New define.Corinna Vinschen2-34/+180
(E_PSEUDO_EXR_REGNUM): Ditto. (h8300_is_argument_spill): Check for instructions moving argument registers into safe registers. (h8300_skip_prologue): Check for stm instruction to push registers used for register variables onto stack. (gdb_print_insn_h8300): Remove. (h8300_examine_prologue): Add a comment. (h8300_register_name): Take pseudo registers into account. (h8300s_register_name): Ditto. (h8300sx_register_name): Ditto. (h8300_print_register): Ditto. (h8300_print_registers_info): Define "nice" printing order. (h8300_saved_pc_after_call): Take pseudo registers into account. (h8300_register_type): Ditto. Return type used for remote connection when requesting real CCR or EXR register, return actual type when requesting pseudo CCR or EXR. (h8300_pseudo_register_read): New function. (h8300_pseudo_register_write): Ditto. (h8300_dbg_reg_to_regnum): Ditto. (h8300s_dbg_reg_to_regnum): Ditto. (h8300_gdbarch_init): Call set_gdbarch_num_pseudo_regs, set_gdbarch_ecoff_reg_to_regnum, set_gdbarch_dwarf_reg_to_regnum, set_gdbarch_dwarf2_reg_to_regnum, set_gdbarch_stab_reg_to_regnum and set_gdbarch_print_insn architecture dependent. Call set_gdbarch_pseudo_register_read and set_gdbarch_pseudo_register_write. (_initialize_h8300_tdep): Remove assignment to deprecated_tm_print_insn.
2003-06-16Revert previous change. Wait for approval.Andrew Cagney2-22/+11
2003-06-162003-06-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney17-104/+128
* gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Deprecate. * gdbarch.h, gdbarch.c: Re-generate. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * infcall.c (call_function_by_hand): Update. * ia64-tdep.c (ia64_push_arguments): Update comment. * frame.c (legacy_get_prev_frame): Do not assume SAVE_DUMMY_FRAME_TOS_P. * dummy-frame.c (find_dummy_frame): Update comment.
2003-06-162003-06-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+5
* regcache.c (do_cooked_read): Do not use register_valid_p.
2003-06-16 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,Thiemo Seufer2-255/+175
ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, s_cprestore,s_cpadd): Use them.
2003-06-16 * ld-powerpc/tlsexetoc.d: Update.Alan Modra6-30/+38
* ld-powerpc/tlsso.d: Update. * ld-powerpc/tlstoc.d: Update. * ld-powerpc/tlstocso.d: Update. * ld-powerpc/tlstocso.r: Update.
2003-06-16 * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprelAlan Modra2-19/+60
tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a dtprel entry. Ensure TLS_LD DTPMOD reloc has a zero addend. Write got section for RELATIVE relocs. Fix wrong comment. Change condition under which dynamic relocs update the section contents.
2003-06-16* avr-tdep.c (avr_register_type): Remove a blank line.Theodore A. Roth2-4/+8
(avr_scan_prologue): Correct some comments.
2003-06-16 * configure.in: Add specific case for cris-*-linux-gnu* withHans-Peter Nilsson5-243/+259
em=linux. * configure: Regenerate. * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE if TE_LINUX defined, else FALSE. (bfd_boolean demand_register_prefix): Set default from DEFAULT_CRIS_AXIS_LINUX_GNU. (symbols_have_leading_underscore): Similar. * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
2003-06-16* avr-tdep.c (avr_scan_prologue): Update comment describing the variousTheodore A. Roth2-41/+118
prologue types. Properly scan prologues generated by gcc with the -mcall-prologues option. Add code to scan -mcall-prologues for mega devices.
2003-06-16 * configure.tgt: Add specific case for cris-*-linux-gnu*Hans-Peter Nilsson2-0/+6
with crislinux emulation only.
2003-06-16 * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.Hans-Peter Nilsson4-1/+9
* ld-cris/noglob1.d: Ditto. * ld-cris/badgotr1.d: Pass --underscore to gas.
2003-06-16daily updateAlan Modra1-1/+1
2003-06-16*** empty log message ***gdbadmin1-1/+1
2003-06-15 * gas/cris: Match output having $ register prefix. Deal withHans-Peter Nilsson72-3683/+3709
target variants default requiring register prefix on input.
2003-06-15* avr-tdep.c (avr_register_byte): Delete function.Theodore A. Roth2-66/+35
(avr_register_raw_size): Delete function. (avr_register_virtual_size): Delete function. (avr_register_virtual_type): Delete function. (avr_register_type): New function. (avr_address_to_pointer): Remove unused code. (avr_read_fp): Need to read FP as two separate bytes due to change to avr_register_type() usage. (avr_gdbarch_init): Don't set deprecated_register_size. Don't set deprecated_register_bytes. Don't set deprecated_register_byte. Don't set deprecated_register_raw_size. Don't set deprecated_max_register_raw_size. Don't set deprecated_register_virtual_size. Don't set deprecated_max_register_virtual_size. Don't set deprecated_register_virtual_type. Set register_type method.
2003-06-15 * Makefile.in (linux-nat.o): Add rule.Daniel Jacobowitz14-9/+212
* linux-nat.c: New file. * config/nm-linux.h (CHILD_INSERT_FORK_CATCHPOINT): Define. (CHILD_INSERT_VFORK_CATCHPOINT): Define. (CHILD_INSERT_EXEC_CATCHPOINT): Define. * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-nat.o. * config/arm/linux.mh (NATDEPFILES): Likewise. * config/i386/linux.mh (NATDEPFILES): Likewise. * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. * config/ia64/linux.mh (NATDEPFILES): Likewise. * config/m68k/linux.mh (NATDEPFILES): Likewise. * config/mips/linux.mh (NATDEPFILES): Likewise. * config/powerpc/linux.mh (NATDEPFILES): Likewise. * config/s390/s390.mh (NATDEPFILES): Likewise. * config/sparc/linux.mh (NATDEPFILES): Likewise.
2003-06-15* gdb.base/attach.exp: Use -1 for the ID of a nonexistent processMark Kettenis2-2/+8
on *-*-*bsd* instead of *-*-freebsd*.
2003-06-15* i387-tdep.c: Reorder includes, fix some whitespace issues andMark Kettenis2-9/+15
replace out-of-date comment.
2003-06-152003-06-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+7
* rdi-share/host.h (Fail): Change to a varargs function. * remote-rdi.c (Fail): Update.
2003-06-15* i386-tdep.c (i386_next_regnum): Fix bounds checking.Mark Kettenis2-23/+54
(i386_convert_register_p, i386_register_to_value, i386_register_from_value): Handle types longer than 8 bytes.