aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-08-19*** empty log message ***gdbadmin1-1/+1
2002-08-18 Fix PR gdb/655Daniel Jacobowitz2-0/+7
* tui.c: Disable <termio.h> include.
2002-08-18 * remote.c (remote_open_1): Add async_p.Daniel Jacobowitz2-142/+40
(remote_async_open_1): Delete. (open_remote_target): Delete. (remote_open, extended_remote_open): Update calls to remote_open_1. (remote_async_open, extended_remote_async_open): Call remote_open_1 instead of remote_async_open_1.
2002-08-18* blockframe.c: Fix a few coding standard violations.Mark Kettenis2-8/+12
2002-08-18* config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): MovedMark Kettenis4-37/+14
here from ... * config/i386/tm-i386sco5.h: ... here. File removed. * config/i386/i386sco5.mt (TM_FILE): Set to tm-i386v4.h.
2002-08-18* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.Mark Kettenis2-0/+9
2002-08-18* config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.oMark Kettenis7-53/+21
(TM_FILE): Set to tm-i386.h. * config/i386/i386v.mt (TM_FILE): Set to tm-i386.h. * config/i386/tm-i386v.h: Remove file. * config/i386/tm-ptx.h [!SEQUENT_PTX4]: Include "i386/tm-i386.h" instead of "i386/tm-i386v.h". (START_INFERIOR_TRAPS_EXPECTED): Remove define. * config/i386/tm-symmetry: Include "i386/tm-i386.h" instead of "i386/tm-i386v.h". (START_INFERIOR_TRAPS_EXPECTED): Remove define. * config/i386/tm-vxworks.h: Include "i386/tm-i386.h" instead of "i386/tm-i386.h".
2002-08-18* config/i386/nm-i386v.h: Add protection againstMark Kettenis3-27/+46
multiple-inclusion. (i386_register_u_addr): Remove prototype. (register_u_addr): New prototype. (REGISTER_U_ADDR): Redefine accordingly. * i386v-nat.c: Improve several comments. (i386_register_u_addr): Change signature and rename to register_u_addr. Use FP_REGNUM_P. Rewrite slightly to get rid of ubase variable.
2002-08-182002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-33/+479
* config/mips/tm-mips.h (STORE_RETURN_VALUE): Delete macro. (DEPRECATED_EXTRACT_RETURN_VALUE): Delete macro. * mips-tdep.c (mips_gdbarch_init): Set store_return_value and deprecated_extract_return_value. (mips_o32_push_arguments, mips_o64_push_arguments): Clone and rename mips_o32o64_push_arguments. (mips_gdbarch_init): Update. (mips_extract_return_value): Delete. (mips_o32_extract_return_value): Clone mips_extract_return_value. (mips_o64_extract_return_value): Clone mips_extract_return_value. (mips_eabi_extract_return_value): Clone mips_extract_return_value. (mips_n32n64_extract_return_value): Clone mips_extract_return_value. (mips_store_return_value): Delete. (mips_o32_store_return_value): Clone mips_store_return_value. (mips_o64_store_return_value): Clone mips_store_return_value. (mips_eabi_store_return_value): Clone mips_store_return_value. (mips_n32n64_store_return_value): Clone mips_store_return_value.
2002-08-18 * ada-lang.c: Use gdb_string.h instead of <string.h>.Aidan Skinner3-7/+12
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
2002-08-18 * ada-lang.c: run through gdb_indent.shAidan Skinner6-3209/+3321
* ada-lang.h: run through gdb_indent.sh * ada-tasks.c: run through gdb_indent.sh * ada-typeprint.c: run through gdb_indent.sh * ada-valprint.c: run through gdb_indent.sh
2002-08-182002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-7/+7
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown ABI.
2002-08-18* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.Mark Kettenis2-53/+2
2002-08-18* config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.Mark Kettenis3-168/+3
* i386b-nat.c [FLOAT_INFO]: Remove dead code.
2002-08-18* i386-tdep.c (i386_do_pop_frame, i386_store_return_value): CallMark Kettenis2-4/+5
write_register_gen instead of write_register_bytes.
2002-08-18* NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* andMark Kettenis16-855/+877
i[3456]-*-osf1mk* configurations have been made obsolete. * configure.host: Make i[3456]86-*-mach3*, i[3456]86-*mach* and i[3456]86-*-osf1mk* hosts obsolete. * confighure.tgt: Make i[3456]86-*-mach3*, i[3456]86-*-osf1mk* targets obsolete. * config/i386/i386mach.mh, config/i386/nm-i386mach.h, config/i386/xm-i386mach.h, config/i386/i386m3.mh, config/i386/i386m3.mt, config/i386/nm-m3.h, config/i386/tm-i386m3.h, config/i386/xm-i386m3.h, config/i386/i386mk.mh, config/i386/i386mk.mt, config/i386/tm-i386mk.h, config/i386/xm-i386mk.h: Make files obsolete. * i386mach-nat.c, i386m3-nat.c: Make files obsolete. * Makefile.in (ALLDEPFILES): Remove i386mach.c i386m3-nat.c (i386mach-nat.o, i386m3-nat.o):Make targets obsolete.
2002-08-182002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-1/+18
* config/pa/tm-hppa.h (hppa_store_return_value): Declare. (hppa_value_returned_from_stack): Declare. (hppa_extract_return_value): Declare. * config/pa/hppa.mt: New file. * configure.tgt: Recognize hppa*-*-*. * MAINTAINERS: Change HPPA target to hppa-elf. Still broken.
2002-08-18* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo inMark Kettenis2-1/+6
comment.
2002-08-18* top.c (gdb_rl_operate_and_get_next): Make sureMark Kettenis2-2/+22
operate-and-get-next functions correctly even when the history list is completely filled.
2002-08-182002-08-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-14/+21
* config/ia64/ia64.mt: New file. * config/alpha/alpha.mt: New file. * MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to ia64-linux-gnu. Mention that ia64-elf is broken. * configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
2002-08-182002-08-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-2/+17
* config/ia64/ia64.mt: New file. * config/alpha/alpha.mt: New file. * MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to ia64-linux-gnu. Mention that ia64-elf is broken. * configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
2002-08-18*** empty log message ***gdbadmin1-1/+1
2002-08-17* i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): UseMark Kettenis2-2/+7
generic_func_frame_valid instead of func_frame_valid.
2002-08-17* gdb.base/return.exp: Remove i*86-*-* from list of xfail'edMark Kettenis2-15/+7
targets. The problem should be fixed now.
2002-08-17 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,Joel Brobecker4-6/+43
procfs appears to be broken when debugging on multi-processor machines. So enable software single stepping in order to avoid using the procfs interface to do next/step operations, using internal breakpoints instead. * infrun.c (handle_inferior_event): Readjust the stop_pc by DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to make this pc address equal to the value it would have if the system stepping capability was used. Also set a new flag used to ensure that we don't readjust the PC one more time later. * breakpoint.c (bpstat_stop_status): Do not adjust the PC address by DECR_PC_AFTER_BREAK when software single step is in use for this architecture, as this has already been taken care of in handle_inferior_event().
2002-08-17 * infrun.c (handle_inferior_event): Minor reformatting, to makeJoel Brobecker2-14/+18
a rather long condition expression easier to read.
2002-08-17Move gdbtk gunk to end of file.Andrew Cagney2-75/+87
2002-08-17*** empty log message ***gdbadmin1-1/+1
2002-08-162002-08-16 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-39/+82
* Makefile.in (copying.o): Separate out compile rule. (hpux-thread.o, procfs.o, signals.o): Ditto. (v850ice.o, z8k-tdep.o): Ditto. (tui-file.o): Move to TUI section. (xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section. (nindy.o, Onindy.o, ttyflush.o): Move to separate section.
2002-08-16 * i386-tdep.c (i386_pe_skip_trampoline_code): renamed fromJoel Brobecker3-1/+11
skip_trampoline_code, for better namespace-proofing. * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.
2002-08-16 * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.Joel Brobecker2-6/+4
2002-08-16 * infrun.c (handle_inferior_event): When receiving a SIGTRAPJoel Brobecker2-4/+16
signal, check whether we hit a breakpoint before checking for a single step breakpoint. Otherwise, GDB fails to notice that a breakpoint has been hit when stepping onto a breakpoint.
2002-08-16 * gdb-events.sh (clear_gdb_event_hooks): New function.Keith Seitz4-0/+32
* gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
2002-08-16* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint toAndrew Cagney3-9/+15
not_a_sw_breakpoint. * breakpoint.h (bpstat_stop_status): Add parameter names.
2002-08-16 * remote.c (remote_insert_hw_breakpoint)Grace Sainsbury2-6/+16
(remote_remove_hw_breakpoint): Fix calculation of length field for Z-packet.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-49/+70
* config/mips/tm-mips.h (FUNCTION_START_OFFSET, IN_SIGTRAMP, REGISTER_VIRTUAL_SIZE): Delete. (REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert from macros to functions. * mips-tdep.c (mips_register_convert_from_type, mips_register_convert_to_type): New functions. (mips_gdbarch_init): Set up function_start_offset, register_virtual_size, pc_in_sigtramp.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-46/+21
* mips-tdep.c (mips_do_registers_info): Make static. (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch. * config/mips/tm-mips.h (DO_REGISTERS_INFO): Delete.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-19/+51
* mips-tdep.c (mips_gdbarch_init): Set gdbarch read_sp to mips_read_sp. * config/mips/tm-mips.h (TARGET_READ_SP): Delete.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+6
* irix5-nat.c (supply_gregset): Allocate plenty-big buffer (32 bytes) instead of using MAX_REGISTER_RAW_SIZE. (supply_fpregset): Ditto.
2002-08-162002-08-15 Michael Snyder <msnyder@redhat.com>Michael Snyder3-31/+19
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete. * mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch. (mips_register_convertible, mips_register_convert_to_virtual, mips_register_convert_to_raw): Make static.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-0/+113
* infcmd.c (vector_info): New function. (_initialize_infcmd): Add command "info vector". (print_vector_info): New function. * gdbarch.sh (PRINT_VECTOR_INFO): New method * gdbarch.h, gdbarch.c: Regenerate. Index: doc/ChangeLog 2002-08-15 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document PRINT_VECTOR_INFO. * gdb.texinfo (Vector Unit): Document "info vectors" command.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-7/+18
* infcmd.c (do_registers_info): Rename parameter ``fpregs'' to ``print_all''. Only print vector registers when ``print_all''.
2002-08-162002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-2/+6
* i387-tdep.h (i387_print_float_info): Add `args' parameter. * i387-tdep.c (i387_print_float_info): Add `args' parameter.
2002-08-16*** empty log message ***gdbadmin1-1/+1
2002-08-152002-08-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney8-30/+69
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method. Add `args' parameter. * gdbarch.h, gdbarch.c: Regenerate. * arm-tdep.c (arm_print_float_info): Add the parameter `args'. * infcmd.c (float_info): Call print_float_info. (print_float_info): New function. By default, print the floating-point registers. * arch-utils.h (default_print_float_info): Delete declaration. * arch-utils.c (default_print_float_info): Delete function.
2002-08-15* config/i386/nm-i386v.h (FLOAT_INFO): Remove already commentedMark Kettenis2-11/+3
out define.
2002-08-15* i387-tdep.c (i387_print_float_info): Add comment about ignoringMark Kettenis2-1/+7
FRAME.
2002-08-15* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.Mark Kettenis11-518/+529
* configure.host: Make i[3456]86-*-aix host obsolete. * configure.tgt: Make i[3456]86-*-aix target obsolete. * config/i386/i386aix.mh, config/i386/i386aix.mt, config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h, config/i386/xm-i386aix.h: Make files obsolete. * i386aix-nat.c: Make file obsolete. * Makefile.in (ALLDEPFILES): Remove i386aix-nat.c. (i386aix-nat.o): Make target obsolete.
2002-08-15* config/i386/nm-gnu.h: Removed.Mark Kettenis7-68/+65
* config/i386/nm-i386gnu.h: New file. (THREAD_STATE_FLAVOR, THREAD_STATE_SIZE, THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH): Moved here from ... * config/i386/tm-i386gnu.h: ... here. Removed. * config/i386/xm-i386gnu.h: Removed. * config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h. (NAT_FILE): Set to nm-i386gnu.h. * config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o. * i386-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c. (i386gnu-tdep.o): Specify dependencies.
2002-08-15* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead ofMark Kettenis3-42/+59
"i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h". Adjust a few comments to reflect reality a bit closer. (KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Move defines to ... * config/i386/nm-i386sco5.h: ... here. (kernel_u_size): Add prototype. Improve a few comments and add protection against multiple inclusion.