Commit Graph

18296 Commits

Author SHA1 Message Date
Daniel Jacobowitz 842e1f1ec4 * Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
	(arm_gdbarch_init): Register dwarf2_frame_sniffer.
2005-03-29 16:56:40 +00:00
gdbadmin e78c98404f *** empty log message *** 2005-03-29 00:00:32 +00:00
Joel Brobecker 6d1eba4cf3 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
register value to be incorrectly written in the regcache.
        (fill_fpregset): Fix bug that caused the FSR register value
        to be incorrectly read from the regcache.
2005-03-28 22:31:55 +00:00
Daniel Jacobowitz fce5e38603 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
arm_pc_is_thumb_dummy.
2005-03-28 19:51:10 +00:00
Mark Kettenis 8391b9b130 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
StackGhost.
2005-03-28 15:29:37 +00:00
Mark Kettenis f700a3641b * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
Handle StackGhost in 64-bit code.
* sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
2005-03-28 13:42:49 +00:00
gdbadmin 6770045840 *** empty log message *** 2005-03-28 00:00:04 +00:00
Christopher Faylor 8da8e0b3f3 * win32-nat.c (handle_exception): Treat win32 routines which check for valid
addresses as "special" and don't stop when a SEGV is detected.
(get_child_debug_event): Properly flag exception as unhandled.
2005-03-27 05:21:12 +00:00
Andreas Schwab f3fb768d95 * gdb.base/bigcore.c (main): Add missing mode argument in open
call.
2005-03-27 00:18:55 +00:00
gdbadmin a507073b25 *** empty log message *** 2005-03-27 00:00:04 +00:00
Daniel Jacobowitz 5e5100cb9c * cp-support.c (cp_class_name_from_physname): Rewrite.
(unqualified_name_from_comp): New function, broken out from
	method_name_from_physname.  Correct handling for typed names
	and templates.
	(method_name_from_physname): Use unqualified_name_from_comp.
	(cp_func_name, remove_params): Move earlier in the file.  Add
	better comments.  Use the component tree to parse the name.
	(_initialize_cp_support): Remove stray whitespace.
2005-03-26 21:56:46 +00:00
Mark Kettenis dc6a2ca431 * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ. 2005-03-26 16:50:45 +00:00
Mark Kettenis 59bb1042a1 * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
Callapse HAVE_TERMIO and HAVE_SGTTY.
2005-03-26 16:32:57 +00:00
Mark Kettenis a77f4086a1 * dwarf2-frame.c (execute_cfa_program): Implement
DW_CFA_GNU_window_save.
2005-03-26 15:20:42 +00:00
gdbadmin 9d2f1968d4 *** empty log message *** 2005-03-26 00:00:36 +00:00
Mark Kettenis bac6b01281 * config/sparc/nbsd64.mh (NAT_FILE): Remove. 2005-03-25 22:28:53 +00:00
Mark Kettenis 4d6c7108d5 * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o. 2005-03-25 22:25:31 +00:00
Daniel Jacobowitz 4bf7064ce9 * arm-tdep.c (target_is_thumb, caller_is_thumb)
(arm_pc_is_thumb_dummy): Remove.
	(arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
2005-03-25 21:28:05 +00:00
Anthony Green 170cd118a9 Fix memset thinkos. 2005-03-25 20:40:02 +00:00
Daniel Jacobowitz 7e813ac51f * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads.
	* config/gdbserver.exp (gdb_load): Likewise.
2005-03-25 20:38:55 +00:00
Mark Mitchell dd5da072a1 * ser-base.c (ser_unix_write): Rename to ...
(ser_base_write): ... this.
	(ser_unix_nop_flush_output): Rename to ...
	(ser_base_flush_output): ... this.
	(ser_unix_flush_input): Rename to ...
	(ser_base_flush_input): ... this.
	(ser_unix_nop_send_break): Rename to ...
	(ser_base_send_break): ... this.
	(ser_unix_nop_drain_output): Rename to ...
	(ser_base_drain_output): ... this.
	(ser_unix_nop_raw): Rename to ...
	(ser_base_raw): ... this.
	(ser_unix_nop_get_tty_state): Rename to ...
	(ser_base_set_tty_state): ... this.
	(ser_unix_nop_noflush_set_tty_state): Rename to ...
	(ser_base_noflush_set_tty_state): ... this.
	(ser_unix_nop_print_tty_state): Rename to ...
	(ser_base_print_tty_state): ... this.
	(ser_unix_nop_setbaudrate): Rename to ...
	(ser_base_setbaudrate): ... this.
	(ser_unix_nop_setstopbits): Rename to ...
	(ser_base_setstopbits): ... this.
	(ser_unix_async): Rename to ...
	(ser_base_async): ... this.
	* ser-base.h (ser_unix_write): Rename to ...
	(ser_base_write): ... this.
	(ser_unix_nop_flush_output): Rename to ...
	(ser_base_flush_output): ... this.
	(ser_unix_flush_input): Rename to ...
	(ser_base_flush_input): ... this.
	(ser_unix_nop_send_break): Rename to ...
	(ser_base_send_break): ... this.
	(ser_unix_nop_drain_output): Rename to ...
	(ser_base_drain_output): ... this.
	(ser_unix_nop_raw): Rename to ...
	(ser_base_raw): ... this.
	(ser_unix_nop_get_tty_state): Rename to ...
	(ser_base_set_tty_state): ... this.
	(ser_unix_nop_noflush_set_tty_state): Rename to ...
	(ser_base_noflush_set_tty_state): ... this.
	(ser_unix_nop_print_tty_state): Rename to ...
	(ser_base_print_tty_state): ... this.
	(ser_unix_nop_setbaudrate): Rename to ...
	(ser_base_setbaudrate): ... this.
	(ser_unix_nop_setstopbits): Rename to ...
	(ser_base_setstopbits): ... this.
	(ser_unix_async): Rename to ...
	(ser_base_async): ... this.
	* ser-pipe.c (_initialize_ser_pipe): Update accordingly.
	* ser-tcp.c (_initialize_ser_tcp): Likewise.
	* ser-unix.c (hardwire_flush_input): Likewise.
	(_initializer_ser_hardwire): Likewise.
2005-03-25 20:06:36 +00:00
Mark Mitchell 3eb25fda5d * Makefile.in (SFILES): Add ser-base.c.
(ser_base_h): New variable.
	(ser-base.o): New target.
	(ser-pipe.o): Depend on $(ser_base_h).
	(ser-tcp.o): Likewise.
	(ser-unix.o): Likewise.  Do not depend on $(event_loop_h).
	* configure.ac (SER_HARDWIRE): Include ser-base.o where
	appropriate.
	* ser-base.c: New file.
	(push_event): Move from ser-unix.c.
	(fd_event): Likewise.
	(reschedule): Likewise.
	(ser_unix_write): Likewise.
	(ser_unix_nop_flush_output): Likewise.
	(ser_unix_flush_input): Likewise.
	(ser_unix_nop_send_break): Likewise.
	(ser_unix_nop_drain_output): Likewise.
	(ser_unix_nop_raw): Likewise.
	(ser_unix_nop_get_tty_state): Likewise.
	(ser_unix_nop_set_tty_state): Likewise.
	(ser_unix_nop_noflush_set_tty_state): Likewise.
	(ser_unix_nop_print_tty_state): Likewise.
	(ser_unix_nop_setbaudrate): Likewise.
	(ser_unix_nop_setstopbits): Likewise.
	(ser_unix_async): Likewise.
	* ser-base.h: New file.
	* ser-pipe.c (ser-base.h): Include it.
	* ser-tcp.c (ser-base.h): Likewise.
	* ser-unix.h (ser_unix_nop_flush_output): Remove.
	(ser_unix_flush_input): Likewise.
	(ser_unix_nop_send_break): Likewise.
	(ser_unix_nop_raw): Likewise.
	(ser_unix_nop_get_tty_state): Likewise.
	(ser_unix_nop_set_tty_state): Likewise.
	(ser_unix_nop_print_tty_state): Likewise.
	(ser_unix_nop_noflush_set_tty_state): Likewise.
	(ser_unix_nop_setbaudrate): Likewise.
	(ser_unix_nop_setstopbits): Likewise.
	(ser_unix_nop_drain_output): Likewise.
	(ser_unix_wait_for): Likewise.
	(ser_unix_write): Likewise.
	(ser_unix_async): Likewise.
	* ser-unix.c (event-loop.h): Do not include it.
	(push_event): Move to ser-base.c.
	(fd_event): Likewise.
	(reschedule): Likewise.
	(ser_unix_write): Likewise.
	(ser_unix_nop_flush_output): Likewise.
	(ser_unix_flush_input): Likewise.
	(ser_unix_nop_send_break): Likewise.
	(ser_unix_nop_drain_output): Likewise.
	(ser_unix_nop_raw): Likewise.
	(ser_unix_nop_get_tty_state): Likewise.
	(ser_unix_nop_set_tty_state): Likewise.
	(ser_unix_nop_noflush_set_tty_state): Likewise.
	(ser_unix_nop_print_tty_state): Likewise.
	(ser_unix_nop_setbaudrate): Likewise.
	(ser_unix_nop_setstopbits): Likewise.
	(ser_unix_async): Likewise.
	(ser_unix_wait_for): Make it static.
	* configure: Regenerated.
2005-03-25 19:47:23 +00:00
Mark Kettenis 8d5a9abc72 * dwarf2-frame.h: Update copyrigh year.
(enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
* dwarf2-frame.c: Update copyright year.
(struct dwarf2_frame_cache): Add member `retaddr_reg'.
(dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
(dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
2005-03-25 16:51:40 +00:00
gdbadmin 4db8334481 *** empty log message *** 2005-03-25 00:00:08 +00:00
gdbadmin c0726462f0 *** empty log message *** 2005-03-24 00:01:07 +00:00
Martin Hunt b3041f52a5 2005-03-23 Martin Hunt <hunt@redhat.com>
* configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.
2005-03-23 19:17:42 +00:00
gdbadmin c410d862c1 *** empty log message *** 2005-03-23 00:00:03 +00:00
gdbadmin 53107cc4a4 *** empty log message *** 2005-03-22 00:01:39 +00:00
Michael Snyder 6a069e5719 2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-prologue.c (fix_frame_pointer): Delete.
	(set_movm_offsets) Don't return just because movm_args is
	zero -- still need to save pc and sp in saved_regs.
	(mn10300_analyze_prologue): Don't return prematurely without
	calling set_movm_offsets (for pc and sp at minimum).
2005-03-21 23:23:32 +00:00
Mark Mitchell d3ea68091c * configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
	(getgid): Likewise.
	* configure: Regenerated.
	* config.in: Likewise.
	* remote-fileio.c (remote_fileio_to_fio_stat): Check
	HAVE_STRUCT_STAT_ST_BLKSIZE.
2005-03-21 21:23:35 +00:00
Christopher Faylor d460b7f5da * win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.
2005-03-21 19:54:15 +00:00
Michael Snyder 342ee437fb 2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
	instead of pc addr for frame_id.  Otherwise "until" won't work.
2005-03-21 19:31:46 +00:00
Kevin Buettner 4f0d78e096 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.
2005-03-21 18:09:47 +00:00
gdbadmin 416d115519 *** empty log message *** 2005-03-21 00:00:06 +00:00
Mark Kettenis 4dd0443396 * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.
2005-03-20 20:30:35 +00:00
Mark Kettenis ee426e0ff6 Fix typo. 2005-03-20 20:15:56 +00:00
Mark Kettenis 80d9c5928e * cp-names.y: Add prototype for yylex. 2005-03-20 16:26:44 +00:00
gdbadmin 94250f706d *** empty log message *** 2005-03-20 00:00:34 +00:00
Daniel Jacobowitz 96ce45cadb * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
	VALADDR.
2005-03-19 19:44:10 +00:00
gdbadmin 2eea5cc9c9 *** empty log message *** 2005-03-19 00:00:07 +00:00
Kevin Buettner 93ad78a72d Move printing of TLS related error messages to dwarf2loc.c. 2005-03-18 21:03:39 +00:00
Mark Kettenis 8cf46f625a * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell.  Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise.  Adjust for changed calling convention of
decimal2str and octal2str.
2005-03-18 20:46:38 +00:00
Kevin Buettner f79d2c3cf8 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.
2005-03-18 20:23:28 +00:00
Mark Kettenis eb3088784c From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.
2005-03-18 18:59:17 +00:00
gdbadmin c4cc240536 *** empty log message *** 2005-03-18 00:00:37 +00:00
Mark Kettenis bde2058dde * defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.
2005-03-17 22:11:09 +00:00
Mark Kettenis 3ecda4574e * corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.
2005-03-17 22:07:42 +00:00
Mark Kettenis 06648491d7 * mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.
2005-03-17 18:07:46 +00:00
Paul Brook 16aff9a677 2005-03-17 Paul Brook <paul@codesourcery.com>
* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
	* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
2005-03-17 17:44:14 +00:00
gdbadmin 8c863dc10a *** empty log message *** 2005-03-17 00:00:03 +00:00