aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-10-30* i386-sol2-nat.c: New file.Mark Kettenis4-1/+91
* Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and i386-sol2-tdep.c. (i386-sol2-nat.o): Update dependencies. * config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add i386-sol2-nat.o.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-102/+16
Total breakage identified by Joel Brobecker. * mips-tdep.c (after_prologue): Delete. (mips_skip_prologue): Use skip_prologue_using_sal. (heuristic_proc_desc): Delete, unused.
2004-10-30* procfs.c (proc_get_gregs, proc_get_fpregs, proc_set_gregs)Mark Kettenis2-135/+123
(proc_set_fpregs, procfs_fetch_registers, procfs_store_registers): Cleanup coding style.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-16/+24
* mips-tdep.h (mips_pc_is_mips16): Declare. * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make non-static. Update calls.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-14/+58
* cli/cli-decode.c (add_setshow_enum_cmd): New function. * command.h (add_setshow_enum_cmd): Declare. * mips-tdep.c (_initialize_mips_tdep): Use add_setshow_enum_cmd.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-15/+19
* mips-tdep.c (_initialize_mips_tdep): Use add_setshow_zinteger_cmd.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-242/+31
* mips-tdep.c (mips_eabi_extract_return_value) (mips_o64_extract_return_value, mips_o64_store_return_value) (return_value_location, mips_eabi_reg_struct_has_addr) (mips_eabi_use_struct_convention) (mips_eabi_store_return_value): Delete. (mips_eabi_store_return_value): New function. (mips_eabi_return_value): New function. (mips_gdbarch_init): For O64 and EABI, delete extract_return_value, store_return_value, use_struct_convention and reg_struct_has_addr, add return_value.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-4/+8
* mips-tdep.c (read_signed_register): Use regcache_cooked_read_signed.
2004-10-30* mipsread.c: Cleanup coding style.Mark Kettenis2-82/+104
(mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read) (mipscoff_symfile_finish): Remove prototypes. * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) (mips_mdebug_frame_cache, mips16_scan_prologue) (mips32_scan_prologue, mips_stub_frame_cache) (heuristic_proc_start, heuristic_proc_desc) (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_step_skips_delay, mips_skip_trampoline_code) (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. * mips-linux-tdep.c (mips_linux_o32_sigframe_init) (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of A0_REGNUM. * mipsnbsd-nat.c: Include "mips-tdep.h". (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * Makefile.in (mipsnbsd-nat.o): Update dependencies.
2004-10-30* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)Mark Kettenis5-77/+68
(mips_mdebug_frame_cache, mips16_scan_prologue) (mips32_scan_prologue, mips_stub_frame_cache) (heuristic_proc_start, heuristic_proc_desc) (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_step_skips_delay, mips_skip_trampoline_code) (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. * mips-linux-tdep.c (mips_linux_o32_sigframe_init) (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of A0_REGNUM. * mipsnbsd-nat.c: Include "mips-tdep.h". (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * Makefile.in (mipsnbsd-nat.o): Update dependencies.
2004-10-302004-10-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-112/+135
* stack.c (parse_frame_specification_1): New function based on parse_frame_specification. Add message and selected_frame_p paramters. Truely always return non-NULL. (parse_frame_specification): Call parse_frame_specification_1. (frame_info): Update. Eliminate target_has_stack check. (select_frame_command): Update.
2004-10-30*** empty log message ***gdbadmin1-1/+1
2004-10-29 * gdb.threads/bp_in_thread.c: New file, copied fromJoel Brobecker3-1/+84
pthread_cond_wait.c. * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source file, rather than reusing the .c file from another testcase.
2004-10-29Really commit this file.Mark Kettenis1-0/+5
2004-10-292004-10-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney21-66/+70
* frame.h (get_selected_frame): Add message parameter. * frame.c (get_selected_frame): Add and use message parameter. * stack.c (current_frame_command, return_command, locals_info) (catch_info, args_info, up_silently_base, down_silently_base): Use get_selected_frame with an explicit message. * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update. * remote-rdp.c, remote-mips.c, remote-e7000.c: Update. * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update. * infrun.c, inflow.c, infcmd.c, frame.c: Update. * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update. * breakpoint.c: Update.
2004-10-292004-10-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-25/+86
* trad-frame.c (trad_frame_get_prev_register): Use frame_unwind_register instead of frame_register_unwind, do not recurse the register's location. * xstormy16-tdep.c (xstormy16_frame_prev_register): * sparc-tdep.c (sparc32_frame_prev_register): Ditto. * sparc64-tdep.c (sparc64_frame_prev_register): Ditto. * sh-tdep.c (sh_frame_prev_register): Ditto. * m68k-tdep.c (m68k_frame_prev_register): Ditto. * i386-tdep.c (i386_frame_prev_register): Ditto. * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto. * amd64-tdep.c (amd64_frame_prev_register): Ditto.
2004-10-29*** empty log message ***gdbadmin1-1/+1
2004-10-28* proc-events.c: Fix several coding-style issues. ConsistentlyMark Kettenis2-530/+526
use #ifdef instead of #if defined(). (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use ARRAY_SIZE. (_initialize_proc_events): New prototype.
2004-10-28* proc-why.c: Fix several coding-style issues.Mark Kettenis2-46/+52
(proc_prettyfprint_why): Use ARRAY_SIZE.
2004-10-28*** empty log message ***gdbadmin1-1/+1
2004-10-27* remote.c (fetch_register_using_p): Construct 'p' packet in aJim Blandy2-3/+9
manner independent of the host byte order.
2004-10-27* mips-tdep.c (id_delayed): Remove prototype.Mark Kettenis2-2/+4
2004-10-27*** empty log message ***gdbadmin1-1/+1
2004-10-26* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,Mark Kettenis2-1/+22
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM to enum with register numbers. (enum mips_insn_size): New enum.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-10/+8
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE. * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub. (mips_gdbarch_init): Update. (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+12
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef IN_SOLIB_RETURN_TRAMPOLINE. * mips-tdep.c (mips_dump_tdep): Do not print IN_SOLIB_RETURN_TRAMPOLINE. (mips_in_solib_return_trampoline): Rename mips_in_return_stub. (mips_gdbarch_init): Update.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-8/+12
* mips-tdep.h (mips_software_single_step): Move to here ... * config/mips/tm-mips.h: ... from here. * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete. * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
2004-10-26*** empty log message ***gdbadmin1-1/+1
2004-10-252004-10-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+9
* NEWS: Add Changes since GDB 6.3 section.
2004-10-25*** empty log message ***gdbadmin1-1/+1
2004-10-24*** empty log message ***gdbadmin1-1/+1
2004-10-23 * ada-lang.c (grow_vect): Return the new array instead ofAndreas Schwab3-7/+14
expecting pointer to pointer to avoid violation of aliasing rules. * ada-lang.h (GROW_VECT): Adapt call to grow_vect.
2004-10-23 * s390-tdep.c (enum pv_boolean): Remove.Ulrich Weigand2-198/+139
(pv_is_array_ref): Remove. (s390_on_stack): Remove. (S390_NUM_SPILL_SLOTS): Remove. (struct s390_prologue_data): Remove members 'spill' and 'back_chain', add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'. (s390_store): Track all stores of orginal incoming registers to the stack constant offsets relative to the CFA, instead of only tracking stores into specific spill slots. (s390_load): Likewise. (s390_analyze_prologue): Adapt to struct s390_prologue_data changes. (s390_prologue_frame_unwind_cache): Likewise. Only track registers defined as call-saved by the ABI. (s390_push_dummy_call): Use bottom of dummy call argument save area as return value, not the top. Do not store to the called function's register save area. (s390_unwind_dummy_id): Adapt accordingly.
2004-10-232004-10-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-75/+100
* objfiles.h (struct objfile): Rename obj_private to deprecated_obj_private, sym_private to deprecated_sym_private, and sym_stab_info to deprecated_sym_stab_info. * gdb-stabs.h: Update. * elfread.c: Update. * dbxread.c: Update. * coffread.c: Update. * xcoffread.c: Update. * symfile.c: Update. * somread.c: Update. * nlmread.c: Update. * mdebugread.c: Update. * hpread.c: Update. * coffread.c: Update.
2004-10-23 * gdb.texinfo (Core File Generation): New section.Eli Zaretskii2-0/+32
2004-10-23 (Calling): Expand and elaborate text. Add "print". Add theEli Zaretskii2-5/+24
description of problems with weak aliases.
2004-10-232004-10-23 Eli Zaretskii <eliz@gnu.org>Eli Zaretskii2-3/+6
* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand out where it is first used, and add an index entry for the term.
2004-10-232004-10-23 Eli Zaretskii <eliz@gnu.org>Eli Zaretskii2-0/+12
* gdb.texinfo(Files): Add a tip for decreasing memory used for symtabs from shared libraries.
2004-10-23 * gdb.texinfo (SVR4 Process Information): Document subcommands ofEli Zaretskii2-25/+63
"info proc" that are already implemented. Add index entries. (Working Directory): Add a cross-reference to "info proc" command.
2004-10-23* mips64obsd-nat.c, mips64obsd-tdep.c: New files.Mark Kettenis7-0/+228
* configure.host: Add mips64*-*-openbsd*. * configure.tgt: Add mips64*-*-openbsd*. * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o, mips64obsd-tdep.c. (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies. * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
2004-10-23*** empty log message ***gdbadmin1-1/+1
2004-10-22 * symtab.c (symbol_search_name): Minor reformatting.Joel Brobecker2-1/+7
2004-10-222004-10-21 msnyder <msnyder@redhat.com>Michael Snyder1-1112/+275
* mn10300-tdep.c: Replace struct mn10300_unwind_cache with struct trad_frame_cache. Don't seem to need any more. (mn10300_frame_unwind_cache): Use trad_frame_cache. Tentatively try using SP or A3 reg as frame base. (mn10300_frame_dummy_this_id): Rename to mn10300_frame_this_id. Call trad_frame_get_id. (mn10300_frame_prev_reg): Call trad_frame_get_reg. (mn10300_frame_base_address): Call trad_frame_get_this_base. (mn10300_frame_args_address, mn10300_frame_locals_address): Delete. Substitute mn10300_frame_base_address. (mn10300_frame_unwind_init): Call dwarf2_frame_sniffer (even though it doesn't seem to work yet).
2004-10-22*** empty log message ***gdbadmin1-1/+1
2004-10-21 * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.Joel Brobecker2-0/+16
(ARCH_SET_FS): Likewise. (ARCH_GET_FS): Likewise. (ARCH_GET_GS): Likewise.
2004-10-21 * gdb.ada/null_record.exp: Check where we stopped afterJoel Brobecker2-1/+7
sending the start command, instead of where the associated temporary breakpoint was inserted.
2004-10-21 * symtab.h: Fix typo in comment.Joel Brobecker2-1/+5
2004-10-21*** empty log message ***gdbadmin1-1/+1
2004-10-20*** empty log message ***gdbadmin1-1/+1
2004-10-19* dwarf2read.c (struct comp_unit_head): Fix coding style.Mark Kettenis2-44/+51
(dwarf_decode_line_header): Likewise.