aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-06-27 * frame.h (struct frame_id): New fields stack_addr_p, code_addr_pUlrich Weigand3-22/+69
and special_addr_p. (frame_id_build, frame_id_build_special): Update comments. (frame_id_build_wild): New prototype. * frame.c (frame_id_build, frame_id_build_special): Fill in new struct frame_id fields. (frame_id_build_wild): New function. (frame_id_eq, frame_id_inner): Use new struct frame_id fields.
2004-06-27* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c andMark Kettenis2-0/+7
hppabsd-tdep.c.
2004-06-27 * ada-lang.c: Minor reformatting to conform to GNU coding standards.Joel Brobecker2-41/+46
2004-06-27 * ada-lang.c: Re-indent file.Joel Brobecker2-987/+992
2004-06-27 * ada-lang.c (symtab_symbol_info): Remove unused declaration.Joel Brobecker2-6/+5
(no_symtab_msg): Likewise.
2004-06-27* source.c: Fix whitespace.Andreas Schwab2-32/+34
2004-06-27* configure.in: Include <sys/param.h> for td_pcb test.Mark Kettenis3-559/+575
* configure: Regenerated.
2004-06-27* i386nbsd-nat.c: New file.Mark Kettenis5-2/+105
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c, i386obsd-nat.c and i386obsd-tdep.c. (i386nbsd-nat.o): New dependency. * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable. * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and bsd-kvm.o. (LOADLIBES): New variable.
2004-06-27* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.Mark Kettenis2-1/+7
(LOADLIBES): New variable.
2004-06-27* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return afterMark Kettenis2-3/+10
fetching from BSD_KVM_PADDR. Correctly lookup address for "_thread0".
2004-06-27* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> andMark Kettenis2-0/+51
"bsd-kvm.h". (amd64fbsd_supply_pcb): New funcion. (_initialize_amd64fbsd_nat): Enable libkvm interface.
2004-06-272004-06-27 <david@streamline-computing.com>David Lecomber2-2/+14
Partial fix for PR cli/1056. * valarith.c (value_binop): Check for zero in division and remainder evaluation.
2004-06-272004-06-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-91/+79
Test PR java/1567 and PR java/1565. * gdb.java/jmain.exp, gdb.java/jmain.java: New files. * gdb.java/jmisc2.exp: Delete file.
2004-06-27*** empty log message ***gdbadmin1-1/+1
2004-06-26* i387-tdep.c: Remove excessive whitespace.Mark Kettenis2-1/+4
2004-06-262004-06-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+8
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-262004-06-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-10/+18
* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. * gdb-events.h, gdb-events.c: Re-generate. * tui/tui-hooks.c (tui_install_hooks): Update. (tui_remove_hooks): Update. * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
2004-06-26Remove stray CVS conflict marker.Mark Kettenis1-1/+0
2004-06-26* amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".Mark Kettenis3-62/+18
(gregset_t, fpregset_t): Remove typedefs. (REG_OFFSET): Rename argument. (amd64bsd_r_reg_offset): Rename from reg_offset. (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Remove functions. (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead of reg_offset. * Makefile.in (amd64fbsd-nat.o): Update dependencies.
2004-06-26* amd64-nat.c (amd64_supply_native_gregset): Fix comment.Mark Kettenis2-1/+3
2004-06-26* vax-tdep.c: Tweak comment.Mark Kettenis2-1/+3
2004-06-26Add OpenBSD/hppa support.Mark Kettenis11-0/+339
* NEWS (New native configurations): Mention OpenBSD/hppa. * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh, config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New files. * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.c): New dependencies. * configure.host: Add hppa*-*-openbsd*. * configure.tgt: Add hppa*-*-openbsd*.
2004-06-26*** empty log message ***gdbadmin1-1/+1
2004-06-252004-06-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-26/+43
* defs.h (deprecated_ui_loop_hook): Deprecated. * wince.c (child_wait): Update. * win32-nat.c (child_wait): Update. * v850ice.c (v850ice_wait): Update. * top.c (deprecated_ui_loop_hook): Update. * serial.h: Update. * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar) (do_unix_readchar): Update. * ser-tcp.c (net_open): Update. * remote-sim.c (gdb_os_poll_quit): Update. * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
2004-06-25 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill secondCorinna Vinschen2-1/+9
attach process.
2004-06-25*** empty log message ***gdbadmin1-1/+1
2004-06-242004-06-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-8/+15
* defs.h (deprecated_pre_add_symbol_hook) (deprecated_post_add_symbol_hook): Deprecated. * symfile.c (symbol_file_add_with_addrs_or_offsets) (symbol_file_add_with_addrs_or_offsets): Update references.
2004-06-242004-06-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-17/+17
* defs.h (post_add_symbol_hook, pre_add_symbol_hook) (ui_loop_hook, selected_frame_level_changed_hook): Declare. * wince.c (ui_loop_hook): Delete extern declaration. * win32-nat.c (ui_loop_hook): Delete extern declaration.. * v850ice.c (ui_loop_hook): Delete extern declaration.. * ser-unix.c (ui_loop_hook): Delete extern declaration.. * ser-tcp.c (ui_loop_hook): Delete extern declaration.. * remote-sim.c (ui_loop_hook): Delete extern declaration.. * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern. ui_loop_hook declaration.
2004-06-242004-06-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-30/+17
* objfiles.h (struct entry_info): Delete entry_func_lowpc and entry_func_highpc fields. * objfiles.c (init_entry_point_info): Do not clear entry_func_lowpc and entry_func_highpc. (objfile_relocate): Do not relocate entry_func_lowpc and entry_func_highpc. * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and entry_func_highpc. * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and entry_func_highpc. * blockframe.c (legacy_frame_chain_valid): Replace tests against entry_func_lowpc and entry_func_highpc with call to inside_entry_func.
2004-06-24* sparc64-tdep.c (sparc64_store_arguments): Fix passingMark Kettenis2-1/+6
quad-precision floating point arguments in registers.
2004-06-24From Michael Mueller <m.mueller99@kay-mueller.de>:Mark Kettenis2-2/+7
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into account.
2004-06-24*** empty log message ***gdbadmin1-1/+1
2004-06-232004-06-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-65/+4
* gdb.cp/pr-1553.exp: Remove.
2004-06-23Fix file name.Andreas Schwab1-2/+2
2004-06-23*** empty log message ***gdbadmin1-1/+1
2004-06-222004-06-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-11/+28
* infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint to -1. * breakpoint.c (bpstat_stop_status): Move check for ignoring untriggered watchpoints to a separate if clause. Update function comment regarding STOPPED_BY_WATCHPOINT argument.
2004-06-222004-06-22 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-53/+8
* gdb.cp/pr-1553.cc: Remove. * gdb.cp/pr-1553.exp: Disable this test.
2004-06-22* gdbarch.sh: Doc fix.Jim Blandy2-1/+5
2004-06-222004-06-21 Martin Hunt <hunt@redhat.com>Martin Hunt4-16/+26
Kevin Buettner <kevinb@redhat.com> * config/mips/tm-mips.h (SP_REGNUM): Delete define. * mips-tdep.h (MIPS_SP_REGNUM): Define. * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call to set_gdbarch_sp_regnum(). Use cooked register number. (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
2004-06-22*** empty log message ***gdbadmin1-1/+1
2004-06-212004-06-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-109/+170
* gdbarch.sh: When the macro field is empty, do not generate a macro definition. When the macro field is "=", generate the macro name from the upper-case function name. (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM) (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM) (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM) (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE) (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE) (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE) (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM) (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS) (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP) (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION) (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO) (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER) (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC) (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER) (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER) (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS) (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN) (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE) (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE) (DEPRECATED_USE_STRUCT_CONVENTION) (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) (DEPRECATED_FRAME_INIT_SAVED_REGS) (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN) (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT) (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK) (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP) (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN) (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC) (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS) (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS) (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR) (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS) (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE) (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE) (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT) (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS) (FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
2004-06-212004-06-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-552/+478
* gdbarch.sh: For gdbarch_dump, print the "function" rather than macro name, and the function rather than macro value. Only wrap macro print statements in #ifdef. Move format logic to where it is needed. * gdbarch.c: Re-generate.
2004-06-212004-06-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-32/+21
* gdbarch.sh (read): Delete "print_p" and "description", add "garbage_at_eol". Check for non-empty garbage at end-of-line. Delete references to print_p. (TARGET_ARCHITECTURE): Delete print predicate. * gdbarch.c: Re-generate.
2004-06-212004-06-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-15/+37
* gdbarch.sh: Check that multi-arch methods do not provide a macro. (register_type, unwind_dummy_id, push_dummy_call, push_dummy_code) (print_registers_info, print_float_info, print_vector_info) (adjust_breakpoint_address, remote_translate_xfer_address) (construct_inferior_arguments, skip_solib_resolver, unwind_pc) (address_class_type_flags_to_name, unwind_sp): Remove the macro name from the multi-arch definition.
2004-06-21Fix PR testsuite/1680.Jim Blandy2-2/+8
* gdb.arch/i386-sse.exp: Properly quote curly braces in regular expressions.
2004-06-212004-06-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-315/+320
* gdbarch.sh: Sort by the function, instead of macro name. * gdbarch.c: Re-generate.
2004-06-21*** empty log message ***gdbadmin1-1/+1
2004-06-202004-06-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-4/+7
* gdbarch.sh: Use the function, instead of macro name in errors and the log file. (return_value): Remove stray ":" in spec.
2004-06-202004-06-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-80/+99
* gdbarch.sh (RETURN_VALUE): Default to legacy_return_value. * gdbarch.h, gdbarch.c: Re-generate. * Makefile.in (arch-utils.o): Update dependencies. * values.c (using_struct_return): Move code calling USE_STRUCT_CONVENTION to legacy_return_value, simplify. * stack.c (return_command): Move code calling STORE_RETURN_VALUE to legacy_return_value, simplify. * infcmd.c (print_return_value): Move code calling DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE to legacy_return_value, simplify. * infcall.c (call_function_by_hand): Move code calling EXTRACT_RETURN_VALUE to legacy_return_value, simplify. * arch-utils.c: Update copyright. Include "gdbcore.h". (legacy_return_value): New function. * arch-utils.h: Update copyright. (legacy_return_value): Declare.
2004-06-202004-06-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney24-67/+93
* gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated. * gdbarch.h, gdbarch.c: Re-generate. * values.c (using_struct_return): Update call. * mcore-tdep.c: Update comment. * infcall.c (call_function_by_hand): Update comment. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * arch-utils.h (always_use_struct_convention): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sh64-tdep.c (sh64_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m32r-tdep.c (m32r_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. Index: doc/ChangeLog 2004-06-20 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Target Architecture Definition): Deprecate USE_STRUCT_CONVENTION.