aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-07-12* i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changesMark Kettenis2-8/+18
to comment. (i386_store_return_value): Improve comments about storing floating-point return values.
2001-07-12* config/arm/xm-linux.h, config/i386/xm-linux.h,Mark Kettenis6-12/+11
config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS): Removed. Taken care of by autoconf and terminal.h.
2001-07-12 * mips-tdep.c (mips_type_needs_double_align): New function.Daniel Jacobowitz2-0/+43
(mips_push_arguments): Align o32 structs to even argument registers if necessary.
2001-07-12fix mips/linux 8.3 errorsDaniel Jacobowitz2-0/+7
2001-07-12* config/powerpc/xm-linux.h: Fix corrupted file.Mark Kettenis2-24/+4
2001-07-12* configure.in: Add check for sigsetjmp.Mark Kettenis6-405/+465
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed. * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed. * configure, config.in: Regenerated.
2001-07-12* gdb.base/so-impl-ld.exp: Remove stray space that preventedMark Kettenis2-1/+6
running this test on Linux.
2001-07-12* mi-main.c (mi_execute_command): Flush output after ``(gdb)''Andrew Cagney2-1/+12
prompt. Bug reported by David Whedon. (mi_execute_async_cli_command): Ditto. (mi_exec_async_cli_cmd_continuation): Ditto. (mi_command_loop): Ditto.
2001-07-122001-07-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-66/+114
* config/sh/tm-sh.h (struct gdbarch_tdep): Add FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM fields. * sh-tdep.c (sh_skip_prologue_hard_way): Rename from skip_prologue_hard_way(). (skip_prologue_hard_way): Make it a function pointer. (sh_print_register): Use function pointer do_pseudo_register, instead of sh_do_pseudo_register. (sh_do_registers_info): Ditto. (sh_gdbarch_init): Initialize do_pseudo_register. (IS_MOV_TO_R14): Rename from IS_MOV_R14. (skip_prologue_hard_way): Update. (sh_gdbarch_init): Move setting of frame_chain, get_saved_register, init_extra_frame_info, push_arguments, extract_return_value, pop_frame, store_struct_return, extract_struct_value_address, use_struct_convention, init_extra_frame_info to before target specific settings. (sh_gdbarch_init): Initialize new tdep fields FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM, PR_REGNUM. (sh_push_arguments): Use new gdbarch_tdep fields {ARG0,ARGLAST}_REGNUM. (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs, sh_init_extra_frame_info, sh_push_return_address, sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use gdbarch_tdep->PR_REGNUM. (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
2001-07-12*** empty log message ***gdbadmin1-1/+1
2001-07-11Don't duplicate tm-linux.hDaniel Jacobowitz2-20/+10
2001-07-11Add myself to MAINTAINERS for mips/linuxDaniel Jacobowitz2-0/+7
2001-07-11minor F_SETOWN nitDaniel Jacobowitz2-1/+6
2001-07-11fix m68k-linux buildDaniel Jacobowitz3-6/+92
2001-07-11* configure.tgt: Mark d10v as pure multi-arch.Andrew Cagney4-27/+7
* config/d10v/tm-d10v.h: Delete file. * config/d10v/d10v.mt (TM_FILE): Delete.
2001-07-11s/typedef serial_t/struct serial */Andrew Cagney35-277/+325
2001-07-11Fix Credit.Andrew Cagney1-2/+3
2001-07-11* gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"J.T. Conklin6-14/+50
of SIGIO. (input_interrupt): Don't block on read, in case we got redundant SIGIO. Don't gripe about redundant SIGIO. * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO handler while waiting. * gdbserver/low-linux.c (mywait): Likewise. * gdbserver/low-nbsd.c (mywait): Likewise. * gdbserver/low-sparc.c (mywait): Likewise.
2001-07-11 * infrun.c (print_stop_reason): Add missing uiout fieldKeith Seitz2-0/+7
"reason" for SIGNAL_RECEIVED case.
2001-07-11* config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):Mark Kettenis2-11/+5
Remove unused macro's.
2001-07-11* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longerMark Kettenis2-4/+5
used.
2001-07-11 * go32-nat.c (info_dos_cmdlist): New variable.Eli Zaretskii2-11/+36
(go32_info_dos_command): New function. (_initialize_go32_nat): Convert all DOS-specific commands into subcommands of "info dos". Suggested by Andrew Cagney <ac131313@redhat.com>.
2001-07-11* config/nm-linux.h: Fix comments.Mark Kettenis2-9/+16
2001-07-11* thread-db.c (enable_thread_event_reporting): Correct warningMark Kettenis2-1/+5
message about getting thread death breakpoint. Reported by John S Kallal <jskallal@home.com>.
2001-07-11* i386-tdep.c (i386_extract_return_value): "Fix" comment.Mark Kettenis2-1/+18
(i386_store_return_value): Frob FPU status and tag word to make sure the return value is the only value on the FPU stack.
2001-07-11* config/tm-linux.h: Do not include <signal.h>. Instead provideMark Kettenis3-9/+25
reasonable defaults for REALTIME_LO and REALTIME_HI if they're not already defined. * config/nm-linux.h: Include <signal.h>. [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and (__SIGRTMAX + 1) respectively.
2001-07-11*** empty log message ***gdbadmin1-1/+1
2001-07-10* mcore-rom.c: Include "serial.h".Andrew Cagney3-1/+7
* Makefile.in (mcore-rom.o): Depends on "serial.h".
2001-07-10Zap botched merge.Andrew Cagney1-1/+0
2001-07-10m88k builds. Tweek remote-bug.c to include "serial.h".Andrew Cagney5-8/+11
2001-07-10Clean up the D10V port so that GDB and the target program noJim Blandy9-503/+107
longer disagree on how big pointers are. * findvar.c (value_from_register): Remove special case code for D10V. * printcmd.c (print_frame_args): Same. * valops.c (value_at, value_fetch_lazy): Same. * values.c (unpack_long): Same. * gdbarch.sh: Changes to effect the following: * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR, gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr, set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR, gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr, set_gdbarch_d10v_make_iaddr, D10V_DADDR_P, gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p, set_gdbarch_d10v_daddr_p, D10V_IADDR_P, gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p, set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW, gdbarch_d10v_convert_daddr_to_raw_ftype, gdbarch_d10v_convert_daddr_to_raw, set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW, gdbarch_d10v_convert_iaddr_to_raw_ftype, gdbarch_d10v_convert_iaddr_to_raw, set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations. * gdbarch.c: Delete the corresponding definitions. (struct gdbarch): Delete members d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw. (startup_gdbarch): Remove initializers for the above. (verify_gdbarch, gdbarch_dump): Don't verify or dump them any more. * d10v-tdep.c (d10v_register_virtual_type): Rather that claiming the stack pointer and PC are 32 bits long (which they aren't), say that the stack pointer is an int16_t, and the program counter is a function pointer. This allows the rest of GDB to make the appropriate conversions between the code pointer format and real addresses. (d10v_register_convertible, d10v_register_convert_to_virtual, d10v_register_convert_to_raw): Delete function; no registers are convertible now, so we use generic_register_convertible_not instead. (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch methods. (d10v_push_arguments, d10v_extract_return_value): Remove special cases for code and data pointers. (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and the target agree on how large pointers are. Say that addresses are 32 bits long. Register the address_to_pointer and pointer_to_address conversion functions. Since no registers are convertible now, register generic_register_convertible_not as the gdbarch_register_convertible method instead of d10v_register_convertible. Remove registrations for d10v_register_convert_to_virtual, d10v_register_convert_to_raw, gdbarch_d10v_make_daddr, gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p, gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and gdbarch_d10v_convert_iaddr_to_raw.
2001-07-10* printcmd.c (print_scalar_formatted): If we are printing anJim Blandy2-0/+10
address, remember that TARGET_ADDR_BIT is not always equal to TARGET_PTR_BIT.
2001-07-10* valops.c (value_cast): When casting a pointer to an integer,Jim Blandy2-1/+17
don't convert it to an address.
2001-07-10* remote-utils.h (struct serial): Declare as opaque. RemoveAndrew Cagney5-6/+17
include of "serial.h". * Makefile.in (remote_utils_h): Update. * monitor.h (struct serial): Declare as opaque. Remove include of "serial.h". (struct monitor_ops): Replace serial_t with `struct serial *'. * monitor.c (monitor_desc): Ditto.
2001-07-10MIPS/Linux supportDaniel Jacobowitz11-0/+628
2001-07-10*** empty log message ***gdbadmin1-1/+1
2001-07-09* mi-out.c (mi_out_new): Initialize suppress_ouput field of newlyMark Kettenis2-0/+6
created `struct ui_out_data'.
2001-07-092001-06-24 Michael Chastain <chastain@redhat.com>Michael Chastain2-24/+13
* gdb.base/arithmet.exp: Remove some tests to make all test names unique.
2001-07-09Fix memory leak and compilation problems using AIX 5 native compiler.Kevin Buettner2-8/+25
2001-07-09* mi-main.c (mi_cmd_data_evaluate_expression): Replace value_ptrAndrew Cagney2-1/+6
with `struct value *'.
2001-07-09s/struct _serial_t/struct serial/Andrew Cagney3-6/+16
2001-07-09Make function declarators match function declarations.Kevin Buettner2-6/+12
2001-07-09*** empty log message ***gdbadmin1-1/+1
2001-07-08* gdbtypes.h (builtin_type_void_data_ptr): RenameAndrew Cagney5-12/+25
builtin_type_ptr. * gdbtypes.c (builtin_type_void_data_ptr): Update. (build_gdbtypes): Update. (_initialize_gdbtypes): Update. * values.c (value_as_pointer): Update. * utils.c (host_pointer_to_address): Update. (address_to_host_pointer): Update.
2001-07-08* remote-udi.c (udi_wait): Make type, instead of name, of firstAndrew Cagney2-1/+6
parameter a ptid_t.
2001-07-08* ser-mac.c: Make obsolete.Andrew Cagney3-387/+392
* Makefile.in (ser-mac.o): Ditto.
2001-07-08 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)Eli Zaretskii2-1/+758
(read_memory_region, get_descriptor, display_descriptor) (go32_sldt, go32_sgdt, go32_sidt): New functions. (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef away `disable' from dos.h, since breakpoint.h defines an enum member of the same name, and GCC 2.7.2 barfs. (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt, dos-gdt, and dos-idt, all of them in the "info" class
2001-07-08*** empty log message ***gdbadmin1-1/+1
2001-07-07Allocate/free space associated with saved_entryset and saved_exitset.Kevin Buettner1-0/+7
2001-07-07Allocate/free space associated with saved_entryset and saved_exitset.Kevin Buettner1-0/+5