aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-04-022005-04-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-17/+26
* dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother computing this_id if there are no dummy frames on the stack.
2005-04-022005-04-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-13/+45
* mn10300-tdep.c (mn10300_frame_unwind_cache): Use find_partial_func instead of unwind_pc to identify frame. (mn10300_push_dummy_call): Handle struct args, struct_return.
2005-04-022005-04-01 Michael Snyder <msnyder@redhat.com>Michael Snyder3-2/+18
* mn10300-prologue.c (set_movm_offsets): Don't test variable before setting it. * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue instead of skip_prologue_using_sal.
2005-04-02*** empty log message ***gdbadmin1-1/+1
2005-04-01 * gdb.arch/altivec-abi.exp: Check for compiler and setPaul Gilliam3-2/+38
use altivec' flag accordingly. * gdb.arch/altivec-regs.exp: Likewise.
2005-04-01*** empty log message ***gdbadmin1-1/+1
2005-03-31Add TLS load module support for FRV.Kevin Buettner4-0/+57
2005-03-31 * gdbarch.sh (fetch_tls_load_module_address): New architecture method.Kevin Buettner21-22/+189
* gdbarch.c, gdbarch.h: Regenerate. * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module address and pass this address, instead of the objfile address, to target_get_thread_local_address(). * linux-thread-db.c (thread_db_get_thread_local_address): Change second parameter from type ``struct objfile *'' to CORE_ADDR. Do not call svr4_fetch_objfile_link_map() to fetch the load module address. * target.h (struct target_ops): Change second parameter of ``to_get_thread_local_address'' from ``struct objfile *'' to ``CORE_ADDR''. * alpha-linux-tdep.c (solib-svr4.h): Include. (alpha_linux_init_abi): Register TLS load module fetcher. * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise. * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise. * i386-linux-tdep.c (i386_linux_init_abi): Likewise. * ia64-linux-tdep.c (solib-svr4.h): Include. (ia64_linux_init_abi): Register TLS load module fetcher. * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise. * m68klinux-tdep.c (m68k_linux_init_abi): Likewise. * mips-linux-tdep.c (mips_linux_init_abi): Likewise. * s390-tdep.c (s390_gdbarch_init): Likewise. * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. * sparc64-linux-tdep.c (solib-svr4.h): Include. (sparc64_linux_init_abi): Register TLS load module fetcher. * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o) (sparc-linux-tdep.o): Update dependencies.
2005-03-31*** empty log message ***gdbadmin1-1/+1
2005-03-30*** empty log message ***gdbadmin1-1/+1
2005-03-29 * c-valprint.c (c_value_print): Fix up some formatting. UseDaniel Jacobowitz5-11/+108
check_typedef. testsuite/ * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-29Missed part of earlier commit.Daniel Jacobowitz1-1/+2
2005-03-29 * arm-linux-nat.c (store_register, store_regs): HandleDaniel Jacobowitz2-0/+15
ARM_PS_REGNUM.
2005-03-29 * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)Daniel Jacobowitz2-4/+20
(arm_linux_thumb_le_breakpoint): New. Update comments. (arm_linux_init_abi): Set Thumb breakpoints also.
2005-03-29 * Makefile.in (arm-tdep.o): Update dependencies.Daniel Jacobowitz2-0/+9
* arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". (arm_gdbarch_init): Register dwarf2_frame_sniffer.
2005-03-29*** empty log message ***gdbadmin1-1/+1
2005-03-28 * irix5-nat.c (supply_fpregset): Fix bug that caused the FSRJoel Brobecker2-6/+33
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 * remote-rdi.c (arm_rdi_insert_breakpoint): Don't callDaniel Jacobowitz2-1/+6
arm_pc_is_thumb_dummy.
2005-03-28* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): HandleMark Kettenis2-0/+17
StackGhost.
2005-03-28* sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):Mark Kettenis3-0/+49
Handle StackGhost in 64-bit code. * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
2005-03-28*** empty log message ***gdbadmin1-1/+1
2005-03-27* win32-nat.c (handle_exception): Treat win32 routines which check for validChristopher Faylor3-0/+26
addresses as "special" and don't stop when a SEGV is detected. (get_child_debug_event): Properly flag exception as unhandled.
2005-03-27 * gdb.base/bigcore.c (main): Add missing mode argument in openAndreas Schwab2-1/+7
call.
2005-03-27*** empty log message ***gdbadmin1-1/+1
2005-03-26 * cp-support.c (cp_class_name_from_physname): Rewrite.Daniel Jacobowitz2-105/+162
(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* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.Mark Kettenis2-2/+4
2005-03-26* inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.Mark Kettenis2-16/+8
Callapse HAVE_TERMIO and HAVE_SGTTY.
2005-03-26* dwarf2-frame.c (execute_cfa_program): ImplementMark Kettenis2-0/+30
DW_CFA_GNU_window_save.
2005-03-26*** empty log message ***gdbadmin1-1/+1
2005-03-25* config/sparc/nbsd64.mh (NAT_FILE): Remove.Mark Kettenis2-1/+2
2005-03-25* config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.Mark Kettenis2-1/+5
2005-03-25 * arm-tdep.c (target_is_thumb, caller_is_thumb)Daniel Jacobowitz2-36/+7
(arm_pc_is_thumb_dummy): Remove. (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
2005-03-25Fix memset thinkos.Anthony Green3-4/+11
2005-03-25 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserverDaniel Jacobowitz3-4/+10
downloads. * config/gdbserver.exp (gdb_load): Likewise.
2005-03-25 * ser-base.c (ser_unix_write): Rename to ...Mark Mitchell6-66/+119
(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 * Makefile.in (SFILES): Add ser-base.c.Mark Mitchell10-323/+437
(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* dwarf2-frame.h: Update copyrigh year.Mark Kettenis3-9/+52
(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*** empty log message ***gdbadmin1-1/+1
2005-03-24*** empty log message ***gdbadmin1-1/+1
2005-03-232005-03-23 Martin Hunt <hunt@redhat.com>Martin Hunt3-18/+5
* configure.ac: Remove -fwritable-strings from CFLAGS. * configure: Regenerate.
2005-03-23*** empty log message ***gdbadmin1-1/+1
2005-03-22*** empty log message ***gdbadmin1-1/+1
2005-03-212005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-90/+36
* 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 * configure.ac (stat.st_blksize): Check for it.Mark Mitchell5-3/+254
(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* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.Christopher Faylor3-2/+12
(do_initial_child_stuff): Move clearing of thread list to a place before a thread ould be created. (child_attach): Ditto.
2005-03-212005-03-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-595/+601
* 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 * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo inKevin Buettner2-1/+6
comment.
2005-03-21*** empty log message ***gdbadmin1-1/+1
2005-03-20* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.Mark Kettenis3-2/+5
* varobj.c (my_value_equal): Mark val2 as volatile.
2005-03-20Fix typo.Mark Kettenis1-1/+1