aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2006-07-23 * linux-nat.c (linux_nat_add_target): Remove extern.Daniel Jacobowitz3-2/+8
* linux-nat.h (thread_db_init): New prototype.
2006-07-23gdb/Daniel Jacobowitz15-1888/+3955
* configure.tgt: Build gdbserver for Cygwin and mingw32. gdb/gdbserver/ * configure.ac: Check for more headers which are missing on Windows. Automatically supply -lwsock32 and USE_WIN32API. * configure.srv: Add Cygwin and mingw32. * remote-utils.c: Don't include headers unconditionally which are missing on mingw32. Include <winsock.h> for mingw32. (remote_open): Adjust for mingw32 support. Flush standard error after writing to it. (remote_close, putpkt_binary, input_interrupt, block_async_io) (unblock_async_io, enable_async_io, disable_async_io) (readchar, getpkt): Update for Winsock support. (prepare_resume_reply): Expect a protocol signal number. * server.c: Disable <sys/wait.h> on mingw32. (start_inferior): Adjust for mingw32 support. Flush standard error after writing to it. (attach_inferior): Likewise. Use protocol signal numbers. (main): Skip 'D' packet on mingw32. Use protocol signal numbers and names. * win32-i386-low.c: New file. * Makefile.in (XM_CLIBS): Set. (gdbserver, gdbreplay): Use $(INTERNAL_CFLAGS). (win32-i386-low.o): New dependency rule. * linux-low.c (linux_wait): Use target signal numbers. * target.h (struct target_ops): Doc fix. * server.h (target_signal_to_name): New prototype. * gdbreplay.c: Don't include headers unconditionally which are missing on mingw32. Include <winsock.h> for mingw32. (remote_close, remote_open): Adjust for Winsock support. * configure, config.in: Regenerated.
2006-07-23 * configure.in: Allow mingw32 and cygwin targets to build cross-gdb.Daniel Jacobowitz4-30/+11
* configure: Regenerated. gdb/ * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete. * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h. * config/i386/tm-cygwin.h: Delete file.
2006-07-23*** empty log message ***gdbadmin1-1/+1
2006-07-22* infrun.c (handle_inferior_event): Typo.Mark Kettenis2-1/+5
2006-07-22*** empty log message ***gdbadmin1-1/+1
2006-07-212006-07-21 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs14-15/+221
* cli/cli-cmds.c (source_verbose, trace_commands): New variables. (source_script): New function. (source_verbose_cleanup): New function. (source_command): Move old contents to source_script. Make function static. Parse -v option and call source_script. (init_cli_cmds): Update source command help. Add 'set trace-commands' command. * cli/cli-script.c (command_next_depth): New static variable. (suppress_next_print_command_trace): New static variable. (reset_command_nest_depth): New function. (print_command_trace): New function. (execute_control_command): Split the continue_control and break_control cases, add calls to print_command_trace and count the nest depth. (while_command): Set suppress_next_print_command_trace. (if_command): Likewise. * top.c (execute_command): Call print_command_trace. * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables. (source_command): Change to source_script. * main.c (captued_main): Use source_script instead of source_command. * top.h (source_command): Change to source_script. * event-top.c (display_gdb_prompt): Call reset_command_nest_depth. * cli/cli-script.h (print_command_trace): Export. (reset_command_nest_depth): Likewise. docs/ * gdb.texinfo (Optional warnings and messages): Add 'set/show trace-commands'. (Command files): Add '-v' to source command. testsuite/ * gdb.base/default.exp: Update source command error message. * gdb.base/help.exp: Update 'help source' message.
2006-07-21*** empty log message ***gdbadmin1-1/+1
2006-07-20gdb/Daniel Jacobowitz4-3/+16
* eval.c (evaluate_struct_tuple): Skip static fields. gdb/testsuite/ * gdb.cp/bs15503.exp: Update comment for no longer crashing test.
2006-07-20*** empty log message ***gdbadmin1-1/+1
2006-07-19* alphaobsd-tdep.c: Include "obsd-tdep.h".Mark Kettenis4-3/+11
(alphaobsd_init_abi): Set skip_solib_resolver. * Makefile.in (alphaobsd-tdep.o): Update dependencies. * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-19* arm-tdep.c (arm_gdbarch_init): Get default floating-point modelMark Kettenis2-8/+36
from ELF flags for binaries produced by the GNU toolchain.
2006-07-192006-07-19 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-8/+12
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2006-07-19 * remote-fileio.c (remote_fileio_func_rename): Reorder to processNathan Sidwell2-25/+36
input buffer before reading memory. (remote_fileio_func_stat): Likewise.
2006-07-19 * blockframe.c (find_pc_partial_function): Use the minimal symbolDaniel Jacobowitz6-42/+258
size to control the cache entry, if available. * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal symbols with zero and non-zero sizes differently. * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2006-07-19*** empty log message ***gdbadmin1-1/+1
2006-07-18 * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)Daniel Jacobowitz3-217/+31
(td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info) (thread_db_fetch_registers, thread_db_store_registers) (thread_db_thread_alive, thread_db_state_str): Delete. (thread_db_load): Don't look up regset functions. (thread_db_pid_to_str): Simplify. (thread_db_extra_thread_info): New. (init_thread_db_ops): Do not set to_fetch_registers, to_store_registers, or to_thread_alive. Set to_extra_thread_info. * Makefile.in: Remove linux-thread-db.o rule.
2006-07-18* armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".Mark Kettenis3-2/+56
(armobsd_sigframe_init): New function. (armobsd_sigframe): New variable. (armobsd_init_abi): Prepend armobsd_sigframe unwinder. * Makefile.in (armobsd-tdep.o): Update dependencies.
2006-07-18 * monitor.c: Remove unused prototypes.Daniel Jacobowitz2-37/+6
2006-07-18 * gdb.threads/print-threads.exp: Use gdb_breakpoint.Daniel Jacobowitz2-1/+5
2006-07-18* defs.h (print_transfer_performance): Improve commentsVladimir Prus2-1/+9
2006-07-182006-07-18 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-0/+4
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-182006-07-18 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-1/+1
* target.c (tcomplain): Mark with ATTR_NORETURN.
2006-07-18*** empty log message ***gdbadmin1-1/+1
2006-07-17* printcmd.c: Coding style fixes: add missing spaces in commentsMark Kettenis3-99/+78
and wrapping long lines. (delete_display, enable_display_command, disable_display_command) (printf_command, display_info, undisplay_command, free_display) (display_command, x_command, address_info, set_command) (inspect_command, call_command, print_command, print_command_1) (validate_format, print_formatted, decode_format, sym_format): Remove prototypes. (x_command): Make static. (printf_command): Convert error into internal consistency check. (address_info): Avoid assignment within function call. (printf_command): Avoid redundant cast. * tracepoint.c (x_command): Remove extern prototype.
2006-07-17* gdb.base/long_long.exp (gdb_test_long_long): ExcludeMark Kettenis2-4/+11
*-*-openbsd* from targets for wich we expect ARM FPA floating point format.
2006-07-17* armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.Mark Kettenis4-2/+10
* Makefile.in (armobsd-tdep.o): Update dependencies. * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2006-07-17Expect frame-begin annotation.Nick Roberts2-5/+17
2006-07-17*** empty log message ***Nick Roberts1-0/+8
2006-07-17*** empty log message ***gdbadmin1-1/+1
2006-07-16* armobsd-tdep.c: New file.Mark Kettenis5-2/+62
* Makefile.in (ALLDEPFILES): Add armobsd-tdep.c. (armobsd-tdep.o): New dependency. * config/arm/obsd.mt: New file. * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
2006-07-16Oops, committed spaces where it should have been a tab.Mark Kettenis1-1/+1
2006-07-16* gdbarch.sh (deprecated_saved_pc_after_call): Delete.Mark Kettenis4-71/+3
2006-07-16* arm-tdep.c (arm_saved_pc_after_call): Delete.Mark Kettenis2-14/+5
(arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
2006-07-16Undefine _process_user_ before includingAlfred M. Szmidt2-4/+17
<hurd/process_request.h>. (gnu_resume): Supply missing argument to error(). (gnu_read_inferior): Add extra parenthesis around arithmetic expression to silence warnings from GCC. (gnu_write_inferior): Likewise. (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
2006-07-16*** empty log message ***gdbadmin1-1/+1
2006-07-15* armnbsd-tdep.c (arm_netbsd_elf_init_abi): UseMark Kettenis2-3/+8
svr4_ilp_fetch_link_map_offsets.
2006-07-15* armnbsd-tdep.c: Don't include "nbsd-tdep.h".Mark Kettenis4-11/+16
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. (DEPRECATED_TM_FILE): Remove. * Makefile.in (armnbsd-tdep.o): Update dependencies.
2006-07-15*** empty log message ***gdbadmin1-1/+1
2006-07-14 * PROBLEMS: Document threads/2137.Joel Brobecker2-1/+9
2006-07-14 * gdb.base/help.exp: Adjust "help unset" test to acceptJoel Brobecker2-1/+6
any list of unset commands.
2006-07-14*** empty log message ***gdbadmin1-1/+1
2006-07-13* config/alpha/tm-nbsd.h: Remove file.Mark Kettenis3-32/+9
* config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
2006-07-13 * mips-tdep.c (mips_integer_to_address): Simplify be callingCorinna Vinschen2-8/+8
extract_signed_integer directly. Fix comment.
2006-07-13 * m32c-tdep.c (m32c_banked_register): New function.Corinna Vinschen2-4/+55
(m32c_banked_read): Use m32c_banked_register function to evaluate real register number. (m32c_banked_write): Ditto. (m32c_virtual_frame_pointer): New function. (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
2006-07-13 * m68k-tdep.c (m68k_frame_align): New.Nathan Sidwell2-0/+16
(m68k_gdbarch_init): Set frame_align here.
2006-07-132006-07-13 Denis PILAT <denis.pilat@st.com>Andrew Stubbs2-8/+8
* interps.c (interpreter_completer): Allocate one more item to the 'matches' list and set them all to 0 with a xcalloc.
2006-07-13(annotate_frame_begin): Re-instate frame-begin annotation for level 3Nick Roberts1-1/+1
annotations.
2006-07-13*** empty log message ***Nick Roberts1-0/+5
2006-07-13gdb/Daniel Jacobowitz8-53/+284
* infcall.c (value_arg_coerce): Use value_cast_pointers for references. Avoid value_cast to a reference type. Don't silently convert pointers to references. * valops.c (value_cast_pointers): New, based on value_cast. (value_cast): Use it. Reject reference types. (value_ref): New. (typecmp): Use it. * value.h (value_cast_pointers, value_ref): New prototypes. gdb/testsuite/ * gdb.cp/ref-params.exp: New test. * gdb.cp/ref-params.cc: New source file. * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.