aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-04-22* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,Jim Blandy5-0/+163
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2004-04-222004-04-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+8
* mips-tdep.c (heuristic_proc_start): Warning() already prefixes "Warning: ".
2004-04-222004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+2
* frame.h (show_frame_info): Delete declaration.
2004-04-222004-04-21 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+5
* gdb.stabs/weird.exp: Accept full pathname for $binfile.
2004-04-222004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-49/+8
* arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test. * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto. * m32r-tdep.c (m32r_frame_this_id): Ditto. * frv-tdep.c (frv_frame_this_id): Ditto. * avr-tdep.c (avr_frame_this_id): Ditto.
2004-04-222004-04-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+4
* MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
2004-04-22* ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 isJim Blandy2-1/+6
register number zero.
2004-04-212004-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney42-347/+399
* annotate.h (deprecated_annotate_starting_hook) (deprecated_annotate_stopped_hook) (deprecated_annotate_exited_hook) (deprecated_annotate_signal_hook) (deprecated_annotate_signalled_hook): Deprecate. * tracepoint.h (deprecated_create_tracepoint_hook) (deprecated_delete_tracepoint_hook) (deprecated_modify_tracepoint_hook) (deprecated_trace_find_hook) (deprecated_trace_start_stop_hook): Deprecate. * target.h (deprecated_target_new_objfile_hook): Deprecate. * remote.h (deprecated_target_resume_hook) (deprecated_target_wait_loop_hook): Deprecate. * gdbcore.h (deprecated_exec_file_display_hook) (deprecated_file_changed_hook): Deprecate. * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate. * defs.h (deprecated_modify_breakpoint_hook) (deprecated_command_loop_hook, deprecated_show_load_progress) (deprecated_print_frame_info_listing_hook) (deprecated_query_hook, deprecated_warning_hook) (deprecated_flush_hook, deprecated_create_breakpoint_hook) (deprecated_delete_breakpoint_hook) (deprecated_interactive_hook, deprecated_registers_changed_hook) (deprecated_readline_begin_hook, deprecated_readline_hook) (deprecated_readline_end_hook, deprecated_register_changed_hook) (deprecated_memory_changed_hook, deprecated_init_ui_hook) (deprecated_context_hook, deprecated_target_wait_hook) (deprecated_attach_hook, deprecated_detach_hook) (deprecated_call_command_hook, deprecated_set_hook) (deprecated_error_hook, deprecated_error_begin_hook) (deprecated_ui_load_progress_hook): Deprecate. * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update. * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update. * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update. * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update. * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update. * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update. * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update. * annotate.c, aix-thread.c: Update.