aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-04-26* alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.Jason Thorpe10-52/+75
* alpha-linux-tdep.c (alpha_linux_init_abi): Initialize tdep->jb_pc and tdep->jb_elt_size. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * alpha-nat.c (get_longjmp_target): Remove. (JB_ELEMENT_SIZE): Ditto. (JB_PC): Ditto. * alpha-tdep.c (alpha_get_longjmp_target): New function. (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target to alpha_get_longjmp_target. (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
2002-04-25* README: Update to GDB 5.2.Andrew Cagney2-46/+50
2002-04-25* gdbarch.sh (LC_ALL): Set to `c'.Andrew Cagney2-0/+5
2002-04-25* avr-tdep.c: Ran through gdb_indent.sh.Theodore A. Roth2-353/+362
2002-04-25* MAINTAINERS: Add myself as AVR maintainer.Theodore A. Roth3-0/+12
* NEWS: Note new target avr.
2002-04-25* Makefile.in: Add support for AVR target.Theodore A. Roth5-0/+1397
* configure.tgt: Add support for AVR target. * avr-tdep.c: New file * config/avr/avr.mt: New file.
2002-04-25* MAINTAINERS: Add myself to write-after-approval.Theodore A. Roth2-0/+5
2002-04-252002-04-24 Pierre Muller <ics.u-strasbg.fr>Pierre Muller2-3/+8
* f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... with fprintf_unfiltered (gdb_stderr,....
2002-04-252002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-2/+8
Fix PR gdb/508. * symfile.c (add_filename_language): Fix wrong xrealloc size argument.
2002-04-252002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+11
* p-exp.y: Also use new prev_lexptr variable to improve error reporting. Based on Michael Snyder 2002-04-24 dated patch to c-exp.y.
2002-04-25* alpha-tdep.c (alpha_breakpoint_from_pc): New function.Jason Thorpe3-9/+26
(alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to alpha_breakpoint_from_pc. Set gdbarch_function_start_offset to 0. * config/alpha/tm-alpha.h: Remove forward decls of struct type and struct value. (FUNCTION_START_OFFSET): Remove. (BREAKPOINT): Ditto.
2002-04-25* MAINTAINERS: Reflect that multi-arch is enabled for VAX.Jason Thorpe3-1/+9
* NEWS: Ditto.
2002-04-25* alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.Jason Thorpe8-17/+52
(alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to alpha_linux_pc_in_sigtramp. * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to alpha_osf1_pc_in_sigtramp. * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphafbsd_pc_in_sigtramp. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphanbsd_pc_in_sigtramp. * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
2002-04-25* config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.Jason Thorpe2-1/+5
2002-04-25* Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c andJason Thorpe11-2/+388
alphanbsd-tdep.c. (alphanbsd-nat.o): New dependency list. (alphanbsd-tdep.o): Ditto. * NEWS: Note new native NetBSD/alpha configuration. * alphanbsd-nat.c: New file. * alphanbsd-tdep.c: Ditto. * configure.host (alpha*-*-netbsd*): New host. * configure.tgt (alpha*-*-netbsd*): New target. * config/alpha/nbsd.mh: New file. * config/alpha/nbsd.mt: Ditto. * config/alpha/nm-nbsd.h: Ditto. * config/alpha/tm-nbsd.h: Ditto.
2002-04-25* Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.Jason Thorpe9-87/+172
(alpha-osf1-tdep.o): New dependency list. * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset and skip_sigtramp_frame members. * alpha-linux-tdep.c: Include gdbcore.h. (alpha_linux_sigtramp_offset): Change return type to LONGEST. (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. * alpha-osf1-tdep.c: New file. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to alpha-osf1-dep.c. (alpha_frame_past_sigtramp_frame): New function. (alpha_dynamic_sigtramp_offset): Ditto. (alpha_proc_desc_is_dyn_sigtramp): Ditto. (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. (ALPHA_PROC_SIGTRAMP_MAGIC): Define. (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. (find_proc_desc): Use alpha_dynamic_sigtramp_offset. (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code to find_solib_trampoline_target. * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. (SKIP_TRAMPOLINE_CODE): Remove. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (DYNAMIC_SIGTRAMP_OFFSET): Ditto. (FRAME_PAST_SIGTRAMP_FRAME): Ditto. * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. (PROC_SIGTRAMP_MAGIC): Ditto. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (DYNAMIC_SIGTRAMP_OFFSET): Ditto. (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2002-04-25* NEWS: Note that Alpha targets are now multi-arch.Jason Thorpe2-0/+8
2002-04-25*** empty log message ***gdbadmin1-1/+1
2002-04-242002-04-24 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+18
* parser-defs.h (prev_lexptr): New external variable. * parse.c (parse_exp_1): Set prev_lexptr to null before calling the language-specific parser. * c-exp.y (yylex): Set prev_lexptr to start of current token. (yyerror): Use prev_lexptr in error reporting.
2002-04-242002-04-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-242002-04-24 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-0/+33
* config/i386/tm-linux.h: Define FILL_FPXREGSET. * gregset.h: If FILL_FPXREGSET is defined, provide gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET is defined, call fill_fpxregset.
2002-04-242002-04-24 Roland McGrath <roland@frob.com>Michael Snyder4-2/+110
* config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. * i386gnu-nat.c [HAVE_SYS_PROCFS_H] (supply_gregset, supply_fpregset): New functions. * gnu-nat.c (gnu_find_memory_regions): New function. (init_gnu_ops): Set `to_find_memory_regions' hook to that. (gnu_xfer_memory): Add a cast.
2002-04-24clean up cvs merge conflict flags.Michael Snyder1-1/+0
2002-04-242002-04-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-22/+68
* arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the loop. Add handling for "str lr, [sp, #-4]!" and for saves of argument regs ("str r(0123), [r11, #-nn"]). (arm_skip_prologue): Better handling for frameless functions. Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
2002-04-24* arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS norAndrew Cagney2-0/+8
NUM_PSEUDO_REGS can be used.
2002-04-24* arch-utils.h: Update copyright.Andrew Cagney18-64/+192
* gdbarch.sh (PC_IN_SIGTRAMP): Add. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (IN_SIGTRAMP): Delete definition. * arch-utils.c (legacy_pc_in_sigtramp): New function. * arch-utils.h (legacy_pc_in_sigtramp): Declare. * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. (mips_dump_tdep): Do not print value of IN_SIGTRAMP. * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. (find_proc_framesize): Ditto. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. (alpha_init_extra_frame_info): Ditto. * infrun.c (handle_inferior_event): Ditto. (handle_inferior_event): Ditto. (check_sigtramp2): Ditto. * blockframe.c (create_new_frame): Ditto. (get_prev_frame): Ditto. * ppc-linux-tdep.c: Update comments. * i386-linux-tdep.c: Update comments. * breakpoint.c (bpstat_what): Update comment. * gdbint.texinfo (Target Architecture Definition): Replace IN_SIGTRAMP with PC_IN_SIGTRAMP.
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