aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-04-242002-04-24 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-2/+11
* gdbserver/linux-low.c (regsets_fetch_inferior_registers), (regsets_store_inferior_registers): Removed cast to int from ptrace() calls. * gdbserver/regcache.h: Added declaration of struct inferior_info.
2002-04-242002-04-24 David S. Miller <davem@redhat.com>David S. Miller5-21/+28
* i960-tdep.c (register_in_window_p): New function. (i960_find_saved_register): Use it instead of REGISTER_IN_WINDOW_P. * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. 2002-04-24 David S. Miller <davem@redhat.com> * gdbint.texinfo (REGISTER_IN_WINDOW): Delete definition.
2002-04-242002-04-24 David S. Miller <davem@redhat.com>David S. Miller4-50/+52
* symtab.h (find_stab_function_addr): Kill extern. * minsyms.c (find_stab_function_addr): Remove from here... * dbxread.c: ... to here, and mark it static.
2002-04-242002-04-20 David S. Miller <davem@redhat.com>David S. Miller2-1/+6
* sparc-tdep.c (sparc_pop_frame): Only need to allocate SPARC_INTREG_SIZE * 16 bytes for reg_temp.
2002-04-242002-04-21 David S. Miller <davem@redhat.com>David S. Miller2-2/+8
* remote-vxsparc.c (vx_read_register): Fix typo, we want REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. (vx_write_register): Likewise.
2002-04-242002-04-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+7
* gdb.base/help.exp: Change 'help status' to allow for target dependent output differences.
2002-04-24*** empty log message ***gdbadmin1-1/+1
2002-04-232002-04-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
2002-04-23 * source.c (is_regular_file): New function.Joel Brobecker2-4/+30
(openp): Check wether file to open is a regular file to avoid opening directories.
2002-04-232002-04-22 Michael Chastain <mec@shout.net>Michael Chastain2-2/+12
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-232002-04-22 Michael Chastain <mec@shout.net>Michael Chastain2-2/+6
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-23* findvar.c (extract_signed_integer): Cast printf argumentJason Thorpe6-8/+18
to suppress format warning. (extract_unsigned_integer): Likewise. * infcmd.c (registers_info): Likewise. * top.c (get_prompt_1): Likewise. * valops.c (value_assign): Likewise. * valprint.c (print_decimal): Likewise.
2002-04-232002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+38
* c-exp.y (typebase): Support [long|long long|short] [signed|unsigned] [int|] and signed [long|long long|short] int
2002-04-23* Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),Jason Thorpe5-170/+264
and vax-tdep.h. * vax-tdep.h: New file. * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. Make several routines static. (vax_get_saved_register): New function. (vax_gdbarch_init): New function. (_initialize_vax_tdep): Register vax_gdbarch_init. * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. Remove macros now under the control of gdbarch.
2002-04-23*** empty log message ***gdbadmin1-1/+1
2002-04-222002-04-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-54/+74
* arm-tdep.c: Some whitespace and coding standards tweaks.
2002-04-22* vax-tdep.c: Include regcache.h.Jason Thorpe3-25/+53
(vax_call_dummy_words): New. (sizeof_vax_call_dummy_words): New. (vax_fix_call_dummy): New function. (vax_saved_pc_after_call): Ditto. * config/vax/tm-vax.h: Don't include regcache.h. (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. (CALL_DUMMY): Remove. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define. (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
2002-04-222002-04-18 Michael Snyder <msnyder@redhat.com>Michael Snyder2-19/+28
* arm-tdep.h: Change regnum defines to enums for ease of debugging.
2002-04-22* vax-tdep.c (vax_frame_chain): New function.Jason Thorpe3-68/+77
(vax_push_dummy_frame): Ditto. (vax_pop_frame): Ditto. * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. (POP_FRAME): Use vax_pop_frame.
2002-04-22* vax-tdep.c (vax_store_struct_return): New function.Jason Thorpe3-19/+45
(vax_extract_return_value): Ditto. (vax_store_return_value): Ditto. (vax_extract_struct_value_address): Ditto. * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use vax_store_struct_return. (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. (STORE_RETURN_VALUE): Use vax_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
2002-04-22* vax-tdep.c (vax_frame_saved_pc): New function.Jason Thorpe3-40/+79
(vax_frame_args_address_correct): Ditto. (vax_frame_args_address): Ditto. (vax_frame_locals_address): Ditto. (vax_frame_num_args): Move code to be in proximity to other frame-related functions. * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. (FRAME_SAVED_PC): Use vax_frame_saved_pc. (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
2002-04-222002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+9
* Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and includedir.
2002-04-22* vax-tdep.c (vax_frame_init_saved_regs): New function.Jason Thorpe3-24/+42
* config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): New macro.
2002-04-22* MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.Jason Thorpe2-1/+4
2002-04-22* alpha-nat.c (get_longjmp_target): Use ALPHA_* constantsJason Thorpe2-4/+11
where needed. (fetch_osf_core_registers): Likewise. (supply_gregset): Likewise.
2002-04-22Document some changes to address internal-errors on Tru64 5.1.Joel Brobecker1-0/+13
Add missing blank line before one of the previous entries.
2002-04-22 * symfile.h (get_section_index): Define.Joel Brobecker2-1/+62
* symfile.c (get_section_index): New function. * mdebugread.c (SC_IS_SBSS): New macro. (SC_IS_BSS): Return true for the scBss storage class only, as the scSBss storage class refers to the .sbss section. (parse_partial_symbols): Discard the symbols which associated section does not exist. Make sure to use the .sbss section index for symbols which storage class is scBss, rather than using the .bss section index.
2002-04-22* symfile.h (get_section_index): Define.Joel Brobecker1-0/+2
* symfile.c (get_section_index): New function. * mdebugread.c (SC_IS_SBSS): New macro. (SC_IS_BSS): Return true for the scBss storage class only, as the scSBss storage class refers to the .sbss section. (parse_partial_symbols): Discard the symbols which associated section does not exist. Make sure to use the .sbss section index for symbols which storage class is scBss, rather than using the .bss section index.
2002-04-22* vax-tdep.c: Update copyright years.Jason Thorpe3-14/+70
(vax_register_name): New function. (vax_register_byte): Ditto. (vax_register_raw_size): Ditto. (vax_register_virtual_size): Ditto. (vax_register_virtual_type): Ditto. * config/vax/tm-vax.h: Update copyright years. (REGISTER_NAMES): Remove. (REGISTER_NAME): Define. (REGISTER_BYTE): Use vax_register_byte. (REGISTER_RAW_SIZE): Use vax_register_raw_size. (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
2002-04-22Revert Sparc OS abi changes.David S. Miller4-339/+78
2002-04-22* config/sparc/tm-sparc.h (sparc_skip_prologue): RestoreAndrew Cagney3-1/+8
declaration * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
2002-04-222002-04-21 David S. Miller <davem@redhat.com>David S. Miller2-6/+4
* gdbint.texinfo (SKIP_PROLOGUE_FRAMELESS_P): Delete definition.
2002-04-222002-04-20 David S. Miller <davem@redhat.com>David S. Miller4-78/+338
* sparc-tdep.h: New file. * sparc-tdep.c (elf-bfd.h): Include. (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REGNUM, SPARC_INTREG_SIZE, DUMMY_REG_SAVE_OFFSET, gdbarch_tdep, CALL_DUMMY_CALL_OFFSET): Move out to sparc-tdep.h (sparc_dump_tdep): New function. (_initialize_sparc_tdep): Use gdbarch_register instead of register_gdbarch_init which is deprecated. (process_note_abi_tag_sections, sparc_abi_handler, sparc_abi_handler_list, sparc_gdbarch_register_os_abi): New. (sparc_gdbarch_init): Determine elf os ident key based upon either the elf header or by using process_note_abi_tag_sections. Fix 'gdbarch already exists' test by comparing os_ident as well. As the last action, invoke OS abi_handler if installed.
2002-04-222002-04-21 David S. Miller <davem@redhat.com>David S. Miller6-26/+42
* arch-utils.c (generic_prologue_frameless_p): Kill SKIP_PROLOGUE_FRAMELESS_P code. * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. * arc-tdep.c (arc_prologue_frameless_p): Implement. * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. * sparc-tdep.c (sparc_prologue_frameless_p): Implement. (sparc_gdbarch_init): Pass it to set_gdbarch_prologue_frameless_p.
2002-04-22*** empty log message ***gdbadmin1-1/+1
2002-04-21* Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.Jason Thorpe2-2/+12
(alphabsd-nat.o): New dependency list.
2002-04-21* Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c andJason Thorpe2-3/+14
alphafbsd-tdep.c. (alpha-linux-tdep.o): New dependency list. (alphafbsd-tdep.o): Likewise.
2002-04-21* alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offsetJason Thorpe4-71/+106
to here... * alpha-tdep.c: ...from here. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
2002-04-21* config/alpha/tm-alpha.h: Move alpha_software_single_stepJason Thorpe3-3/+8
prototype from here... * alpha-tdep.h: ...to here.
2002-04-21* frame.h (selected_frame_level): Document as deprecated.Andrew Cagney11-22/+80
(frame_relative_level): Declare. * stack.c (frame_relative_level): New function. (selected_frame_level): Document as deprecated. (select_frame): Do not set the selected_frame_level. * stack.c (frame_info, record_selected_frame): Update. (frame_command, current_frame_command): Update. (up_silently_base, up_command, down_silently_base): Update. (down_command): Update. * inflow.c (kill_command): Update. * tracepoint.c (finish_tfind_command): Update. * corelow.c (core_open): Update. * thread.c (info_threads_command): Update. (do_captured_thread_select): Update. * infcmd.c (finish_command): Update. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
2002-04-21* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.Jason Thorpe2-7/+4
2002-04-21* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make returnAndrew Cagney2-1/+6
type const.
2002-04-21* alphafbsd-tdep.c: Update copyright years. IncludeJason Thorpe3-9/+30
alpha-tdep.h. (alphafbsd_use_struct_convention): Make static. (alphafbsd_init_abi): New function. (_initialize_alphafbsd_tdep): New function. * config/alpha/tm-fbsd.h: Update copyright years. (USE_STRUCT_CONVENTION): Remove.
2002-04-21* alpha-tdep.c (alpha_abi_handler): New structure to describeJason Thorpe3-0/+87
an Alpha ABI variant. (alpha_abi_handler_list): Declare. (alpha_gdbarch_register_os_abi): New function. (alpha_gdbarch_init): Give registered ABI variant handlers a chance to tweak the gdbarch once we have set up defaults. * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
2002-04-21* alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_doubleJason Thorpe3-13/+10
to standard_coerce_float_to_double. * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2002-04-21* alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.Jason Thorpe4-8/+24
* alpha-tdep.c (heuristic_proc_start): Use vm_min_address from gdbarch_tdep rather than a constant. (alpha_gdbarch_init): Initialize tdep->vm_min_address to the default text address for all Alpha Unix ABIs. (alpha_dump_tdep): Report the value of tdep->vm_min_address. * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
2002-04-21* alpha-tdep.h: New file. Includes several Alpha target constantsJason Thorpe7-379/+606
taken from... * config/alpha/tm-alpha.h: ...here. Remove macros that we now let gdbarch deal with. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd to dependency list. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. * alphabsd-nat.c: Likewise. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. Make serveral routines static. (alpha_get_saved_register): New function. (alpha_abi_names): New. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (alpha_gdbarch_init): New function. (alpha_dump_tdep): New function. (_initialize_alpha_tdep): Register alpha_gdbarch_init.
2002-04-21* frame.c (find_saved_register): Delete #ifdefAndrew Cagney6-42/+14
HAVE_REGISTER_WINDOWS code. * config/sparc/tm-sparc.h: Update comments. * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. * gdbint.texinfo (Target Architecture Definition): Delete definition of HAVE_REGISTER_WINDOWS.
2002-04-21* i960-tdep.c (i960_find_saved_register): New function.Andrew Cagney3-4/+159
(i960_get_saved_register): New function. * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. (i960_get_saved_register): Declare. * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
2002-04-212002-04-20 David S. Miller <davem@redhat.com>David S. Miller2-14/+20
* sparc-nat.c (store-inferior_registers): Fix ambiguous else.