aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-04-30Add OpenBSD/m68k support.Mark Kettenis11-0/+457
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+5
* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function. (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
2004-04-30* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.Mark Kettenis3-6/+5
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
2004-04-30 Revert 2004-04-16 change.Brian Ford4-18/+11
* i386-tdep.c (i386_gdbarch_init): Fix comment typos. (i386_coff_init_abi): Remove. * i386-tdep.h (i386_coff_init_abi): Remove. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-17/+4
* blockframe.c (find_pc_partial_function): Delete use of DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and DEPRECATED_SIGTRAMP_END.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-19/+6
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP. * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete. * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-79/+19
* defs.h (deprecated_inside_entry_file): Delete declaration. * blockframe.c (deprecated_inside_entry_file): Delete function. (legacy_frame_chain_valid): Delete call. * sh64-tdep.c (sh64_frame_chain): Delete call. * objfiles.h: Update comments. * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete call. * frame.c (get_prev_frame): Delete call, update comments.
2004-04-30 * MAINTAINERS (Write After Approval): Add myself.Brian Ford2-0/+5
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-95/+21
* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete. * gdbarch.h, gdbarch.c: Re-generate. * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE code.
2004-04-302004-04-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-103/+9
* gdb-events.sh (selected_thread_changed) (selected_frame_level_changed, target_changed): Delete. * gdb-events.h, gdb-events.c: Re-generate. * valops.c (value_assign): Update. * stack.c (select_frame_command, up_silently_base) (down_silently_base): Update.
2004-04-302004-04-30 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-1/+5
* observer.texi (GDB Observers): Correct spelling.
2004-04-302004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-41/+62
* mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI registers correctly. (print_gp_register_row, mips32_heuristic_proc_desc) (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate references to mips_isa_regsize.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-30/+23
* mips-tdep.c (struct gdbarch_tdep): Delete mips_fp_register_double. (FP_REGISTER_DOUBLE): Delete macro, replace with test for mips_abi_regsize. (mips_gdbarch_init): Do not set mips_fp_register_double. (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
2004-04-29Remove >>>>> from someones long-ago commit.Andrew Cagney1-1/+0
2004-04-292004-04-29 Joel Brobecker <brobecker@gnat.com>Andrew Cagney2-5/+20
Committed by Andrew Cagney. * infrun.c (handle_inferior_event): Rely on frame IDs to detect function calls.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-100/+111
* mips-tdep.c (mips_abi_regsize): Replace tdep parameter with gdbarch, use mips_abi, update callers. (mips_stack_argsize): Replace tdep parameter with gdbarch, use mips_abi_regsize, update callers. (struct gdbarch_tdep): Delete mips_default_stack_argsize and mips_default_abi_regsize. (mips_gdbarch_init): Do not set mips_default_stack_argsize and mips_default_abi_regsize.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-111/+125
* mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. (mips_abi_regsize_string): Rename mips_saved_regsize_string. (struct gdbarch_tdep): Rename mips_default_saved_regsize to mips_default_abi_regsize. (mips_isa_regsize): Rename mips_regisze. * mipsnbsd-tdep.c: Update. * mips-linux-tdep.c: Update. * irix5-nat.c: Update. * mips-tdep.h (mips_isa_regsize): Update.
2004-04-29* i386-prologue.exp: Add testcase for jump instruction as firstMark Kettenis3-0/+37
instruction of the real code. * i386-prologue.c (jump_at_beginning): New function.
2004-04-292004-04-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-151/+8
* gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references. Delete all disabled code. * gdb-events.h, gdb-events.c: Re-generate.
2004-04-29 Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-1/+13
* i386-tdep.c (i386_skip_prologue): follow the last jump only if the function begins with a branch instruction.
2004-04-29* i386-tdep.c: Fix spelling mistakes.Mark Kettenis2-13/+17
2004-04-292004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Andrew Cagney6-139/+176
Andrew Cagney <cagney@redhat.com> * configure.in (mips-sgi-irix5*): Define _KMEMUSER for <sys/proc.h>. * acconfig.h: Provide default _KMEMUSER value. * config.in, configure: Re-generate. * NEWS: Mention fix.
2004-04-292004-04-24 Randolph Chung <tausq@debian.org>Randolph Chung12-3/+879
* configure.host (hppa*-*-linux*): New target. * configure.tgt (hppa*-*-linux*): Likewise. * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move gdbarch_init_osabi() call earlier so that osabi-specific frame unwinders can be registered first. * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and hppa-linux-nat.c. * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM) (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers. * config/pa/linux.mh: New file. * config/pa/linux.mt: New file. * config/pa/nm-linux.h: New file. * config/pa/xm-linux.h: New file. * hppa-linux-nat.c: New file. * hppa-linux-tdep.c: New file.
2004-04-292004-04-28 Randolph Chung <tausq@debian.org>Randolph Chung2-26/+64
* hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp return values. (hppa32_push_dummy_call): Fix small struct and floating point argument passing, and make sure the stack frame is properly aligned.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+7
* stack.c (print_stack_frame): Fix description.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 onMark Kettenis2-7/+5
x86_64-*-*.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* NEWS: Mention gdb/gdbserver/configure execute permission changed. PR server/519.
2004-04-282004-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney16-91/+102
* stack.c (print_stack_frame_stub): Delete declaration. (struct print_stack_frame_args, print_stack_frame) (print_frame_info, print_frame): Replace "source" with print what. Replace "print" with "print_level". Replace "args" with "print_args". * frame.h (show_and_print_stack_frame, print_stack_frame) (print_frame_info): Update declarations. * stack.c (select_and_print_frame, frame_command) (current_frame_command, up_command, down_command): Update calls - use get_selected_frame, pass "enum print_what" for source, do not call frame_relative_level. * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * ocd.c (ocd_start_remote): Ditto. * mi/mi-main.c (mi_cmd_exec_return): Ditto. * infrun.c (normal_stop): Ditto. * inflow.c (kill_command): Ditto. * infcmd.c (finish_command): Ditto. * corelow.c (core_open): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * thread.c (info_threads_command, info_threads_command) (restore_current_thread, do_captured_thread_select): Ditto. * ada-tasks.c (task_command): Ditto.
2004-04-28* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 onMark Kettenis2-4/+5
i*86-*-*.
2004-04-28* gdb.base/call-sc.exp (start_scalars_test): Fix regularMark Kettenis2-1/+6
expression that checks the return type.
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg5-3/+39
* frame.c: Include "observer.h". (frame_observer_target_changed): New function. (_initialize_frame): Attach target_changed observer. * regcache.c: Include "observer.h". (regcache_observer_target_changed): New function. (_initialize_regcache): Attach target_changed observer. * valops.c: Include "observer.h". (value_assign): Notify target_changed event when modifying register. * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-0/+8
* observer.texi (GDB Observers): Add target_changed event.
2004-04-262004-04-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg4-14/+49
From Paul Koning <pkoning@equallogic.com>: * breakpoint.c (free_valchain): New function. (insert_bp_location, delete_breakpoint): Use free_valchain. (remove_breakpoint): Do not remove the valchain. (bpstat_stop_status): If not stopped by watchpoint, skip watchpoints when generating stop status list. * infrun.c (handle_inferior_event): Make stepped_after_stopped_by_watchpoint a global variable. * remote.c (remote_stopped_data_address): Return watch data address rather than zero if stepped_after_stopped_by_watchpoint is set.
2004-04-252004-04-25 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-587/+674
Fix PR gdb/1626. * configure.in: Check for curses after termcap. On osf5.*, do not check for ncurses. * configure: Regenerate.
2004-04-25* ppcobsd-nat.c: Include "ppc-tdep.h".Mark Kettenis3-1/+5
* Makefile.in (ppcobsd-nat.o): Update dependencies.
2004-04-25* stack.c (return_command): Use CHECK_TYPEDEF on the return type.Mark Kettenis2-0/+6
Fixes PR tdep/1623 and PR tdep/1624.
2004-04-242004-04-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-309/+5
* xmodem.h, xmodem.c: Remove files. * Makefile.in: Remove references to xmodem.h, xmodem.c.
2004-04-242004-04-23 Randolph Chung <tausq@debian.org>Randolph Chung2-3/+91
* hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache) (hppa_stub_frame_this_id, hppa_stub_frame_prev_register) (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder for handling stackless frames. (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
2004-04-242004-04-23 Randolph Chung <tausq@debian.org>Randolph Chung2-19/+82
* hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind starts at a pc before the frame is created.
2004-04-232004-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+575
* gdb.base/call-sc.exp: New test of scalar call/return values. * gdb.base/call-sc.c: Ditto.
2004-04-23 * ChangeLog-2002: Fix year in one of the ChangeLog entries.Joel Brobecker2-1/+5
2004-04-232004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jeff Johnston2-0/+6
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-232004-04-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+28
* gdb.threads/manythreads.c: Add copyright notice.
2004-04-232004-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-15/+25
* gdb.base/siginfo.exp: Clean up step out of signal. * gdb.base/sigstep.exp: Ditto.
2004-04-23 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,Jerome Guitton2-12/+10
use convert_typed_floating to get the appropriate format.
2004-04-232004-04-22 Randolph Chung <tausq@debian.org>Randolph Chung4-579/+604
* hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load) (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17) (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend) (hppa_sign_extend): Add prototype. * hppa-tdep.c (get_field, extract_5_load, extract_5R_store) (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend) (sign_extend): Rename with hppa_ prefix and make non-static. Other hppa targets will also use these functions. (find_unwind_entry): Remove prototype (moved to hppa-tdep.h). (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline) (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c (hppa_gdbarch_init): Remove gdbarch setting of skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline. * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline) (hppa64_hpux_in_solib_call_trampoline): New functions, split from hppa_in_solib_call_trampoline. (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code): Moved from hppa-tdep.c. (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, in_solib_call_trampoline and in_solib_return_trampoline.
2004-04-232004-04-22 Randolph Chung <tausq@debian.org>Randolph Chung2-4/+53
* hppa-tdep.c (hppa_debug): New variable. (find_unwind_entry, hppa_frame_cache): Add debug output. (_initialize_hppa_tdep): Add command to set debug flag.
2004-04-232004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+67
* ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and "trad-frame.h". (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD signal trampoline unwinder. (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
2004-04-222004-04-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+174
Daniel Jacobowitz <drow@mvista.com> * gdb.threads/manythreads.c: New testcase. * gdb.threads/manythreads.exp: Ditto.
2004-04-22Add OpenBSD/powerpc support.Mark Kettenis13-6/+595
* NEWS (New native configurations): Mention OpenBSD/powerpc. * ppc-tdep.h (struct ppc_reg_offsets): New structure. (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset) (ppc_collect_fpregset): New prototypes. * ppcobsd-nat.c: New file. * ppcobsd-tdep.c: New file. * ppcobsd-tdep.h: New file. * rs6000-tdep.c: Include "regset.h". (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset) (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset): New functions. * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c. (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies. (rs6000-tdep.o): Update dependencies. * configure.host: Add powerpc-*-openbsd. * configure.tgt: Add powerpc-*-openbsd. * config/powerpc/obsd.mh: New file. * config/powerpc/nm-obsd.h: New file. * config/powerpc/obsd.mt: New file.