aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-08-07*** empty log message ***gdbadmin1-1/+1
2005-08-06*** empty log message ***gdbadmin1-1/+1
2005-08-05Reviewed and approved by Mark Kettenis <mark.kettenis@xs4all.nl>Fred Fish3-6/+12
2005-08-02 Fred Fish <fnf@specifix.com> * defs.h (parse_frame_specification): Remove prototype. * stack.c (parse_frame_specification): Add prototype and make function static. (frame_info): Move common code outside if..then..else.
2005-08-05*** empty log message ***gdbadmin1-1/+1
2005-08-042005-08-02 Bob Rossi <bob@brasko.net>Bob Rossi5-62/+112
* gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior. (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope. Change tests to inferior-tty-set/show. * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior. (47-exec-next): Use mi_gdb_test to get GDB and Inferior output. * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for inferior. Use mi_gdb_test to get GDB and Inferior output. * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY descriptor. (mi_inferior_tty_name): Add inferior PTY file name. (mi_gdb_start): Add INFERIOR_PTY parameter. (mi_gdb_test): Add IPATTERN parameter.
2005-08-04*** empty log message ***gdbadmin1-1/+1
2005-08-03*** empty log message ***gdbadmin1-1/+1
2005-08-022005-08-02 Bob Rossi <bob@brasko.net>Bob Rossi4-21/+46
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE parameter to mi_gdb_test. * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-08-02 * value.c (value_contents_writeable): Use value_contents_raw.Daniel Jacobowitz2-1/+5
2005-08-02 Suggested by Shaun Jackman <sjackman@gmail.com>:Daniel Jacobowitz5-27/+57
* defs.h (print_transfer_performance): Update prototype. * m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday for print_transfer_performance. * remote-m32r-sdi.c (m32r_load): Likewise. * symfile.c (generic_load): Likewise. (report_transfer_performance): Create a dummy struct timeval. (print_transfer_performance): Use a more accurate measure of performance.
2005-08-02*** empty log message ***gdbadmin1-1/+1
2005-08-01Reviewed/approved by Daniel Jacobowitz <dan@codesourcery.com>Fred Fish2-16/+5
2005-08-01 Fred Fish <fnf@specifix.com> * stack.c (parse_frame_specification_1): Remove use of obsolete SETUP_ARBITRARY_FRAME macro.
2005-08-01Reviewed/approved by Daniel Jacobowitz <drow@false.org>Fred Fish2-3/+4
2005-08-01 Fred Fish <fnf@specifix.com> * gdb.texinfo (SETUP_ARBITRARY_FRAME): Remove obsolete reference.
2005-08-01 * dwarf2-frame.c (read_signed_leb128): Handle values that do notDaniel Jacobowitz3-8/+11
fit in 32 bits. * dwarf2read.c (read_signed_leb128): Likewise.
2005-08-01 From Josef Ezra <jezra@emc.com>:Daniel Jacobowitz2-1/+7
* tracepoint.c (stringify_collection_list): Correct pointer arithmetic.
2005-08-01 Suggested by Vladimir Prus <ghost@cs.msu.su>:Daniel Jacobowitz2-5/+12
* infrun.c (handle_inferior_event): Check for line information in undebuggable functions.
2005-08-01*** empty log message ***gdbadmin1-1/+1
2005-07-31 * gdb.mi/mi-var-child.c (do_children_tests): InitializeDaniel Jacobowitz3-0/+12
struct_declarations. * gdb.mi/mi-var-child.exp: Step over the initialization of struct_declarations.
2005-07-31 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.Daniel Jacobowitz7-29/+422
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c. * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c. * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file. * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source file.
2005-07-31From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>:Daniel Jacobowitz16-55/+105
gdb/ * cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF. * complaints.c (vcomplaint): Likewise. * defs.h (xvasprintf, xstrvprintf, verror, vfatal) (internal_verror, internal_vwarning, vwarning) (deprecated_query_hook, deprecated_warning_hook) (deprecated_readline_begin_hook): Likewise. * disasm.c (fprintf_disasm): Likewise. * exceptions.c (throw_it): Likewise. * exceptions.h (throw_verror, throw_vfatal): Likewise. * mi/mi-interp.c (mi_interp_query_hook): Likewise. * mi/mi-out.c (mi_field_fmt, mi_message): Likewise. * tui/tui-hooks.c (tui_query_hook): Likewise. * tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt): Likewise. * ui-out.c (default_field_fmt, default_message, uo_field_fmt) (uo_message): Likewise. * ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype) (message_ftype): Likewise. * utils.c (vfprintf_maybe_filtered, internal_vproblem) (defaulted_query, printchar): Likewise. gdb/gdbserver/ * server.h (error, fatal, warning): Add ATTR_FORMAT.
2005-07-31*** empty log message ***gdbadmin1-1/+1
2005-07-30*** empty log message ***gdbadmin1-1/+1
2005-07-29*** empty log message ***gdbadmin1-1/+1
2005-07-28*** empty log message ***gdbadmin1-1/+1
2005-07-27* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.Nick Roberts4-30/+54
(do_children_tests): Assign values to the extra elements. * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use them for tests for "-var-update --no-values" and "-var-update --all-values". Add test for "-var-list-children --simple-values". * gdb.mi/basics.c (callee4): Add integer array D[3]... * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test "-stack-list-locals --simple-values" Improve doc strings and comments.
2005-07-27*** empty log message ***Nick Roberts1-0/+16
2005-07-27*** empty log message ***gdbadmin1-1/+1
2005-07-26* i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.Mark Kettenis2-19/+38
(i386obsd_sigtramp_p): Deal with an arbitrary number of possible offsets. (i386obsd_aout_supply_regset): Avoid bogus cast.
2005-07-26*** empty log message ***gdbadmin1-1/+1
2005-07-25* inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):Mark Kettenis2-0/+130
New function. (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set PTRACE_FORK event flag. (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK event. (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
2005-07-25* gdb_ptrace.h (PT_TRACE_ME): Define to zero if not alreadyMark Kettenis3-154/+144
defined. * inf-ptrace.c: Tweak comments. (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero. (inf_ptrace_mourn_inferior): Call waitpid. (inf_ptrace_attach): Use pid_t, Remove unnecessary cast. (inf_ptrace_detach): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior. Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_kill): Call waitpid instead of wait. (inf_ptrace_resume): Use pid_t. Use ptid_get_pid instead of PIDGET. (inf_ptrace_wait): Use waitpid instead wait. Use pid_t. Don't call target_has_exited or target_thread_alive. Properly ignore terminated detached child processes. (inf_ptrace_has_exited): Remove function. (inf_ptrace_xfer_partial): Use pid_t. Use ptid_get_pid instead of PIDGET. Use gdb_byte instead of `unsigned char'. (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET. (inf_ptrace_pid_to_str): Remove function. (inf_ptrace_target): Use inf_ptrace_kill instead of inf_ptrace_kill_inferior. Use normal_pid_to_str instead of inf_ptrace_pid_to_str. Don't set to_has_exited. (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat long lines.
2005-07-25* inf-ptrace.c: Reorder functions.Mark Kettenis2-215/+190
(inf_ptrace_open, inf_ptrace_reported_exec_events_per_call) (inf_ptrace_can_run, inf_ptrace_post_attach): Removed. (inf_ptrace_target): Don't set to_open, to_reported_exec_events_per_call, to_can_run, to_post_attach, to_stratum, to_has_all_memory, to_has_memory, to_has_stack, to_has_registers, to_has_execution, to_magic. Reorder remaining initializations.
2005-07-25 * configure.ac: On MinGW, do not require a termcap library, andMark Mitchell5-0/+145
use win32-termcap.c. * configure: Regenerated. * win32-termcap.c: New file.
2005-07-25*** empty log message ***gdbadmin1-1/+1
2005-07-24 * ser-tcp.c (close): Define as a function-like macro on MinGW.Mark Mitchell2-1/+5
2005-07-24*** empty log message ***gdbadmin1-1/+1
2005-07-23*** empty log message ***gdbadmin1-1/+1
2005-07-22*** empty log message ***gdbadmin1-1/+1
2005-07-212005-07-21 Eric Christopher <echristo@apple.com>Eric Christopher2-164/+168
* MAINTAINERS (Misc): Update affiliation.
2005-07-21* inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXECMark Kettenis2-4/+15
events as TARGET_WAITKIND_EXECD. (inf_ttrace_detach): Reorder local variables.
2005-07-21*** empty log message ***gdbadmin1-1/+1
2005-07-20* inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.Mark Kettenis2-6/+207
(inf_ttrace_follow_fork): New function. (inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and TTEVT_VFORK events. Replace TTEO_NOSTRCHLD option with TTEO_PROC_INHERIT. (inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for inf_ttrace_vfork_ppid. (inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting parent if appropriate. (inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK. (inf_ttrace_target): Set to_follow_fork.
2005-07-20* remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.Wu Zhou2-3/+5
2005-07-20*** empty log message ***gdbadmin1-1/+1
2005-07-19*** empty log message ***gdbadmin1-1/+1
2005-07-18* target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.Mark Kettenis4-11/+9
* bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. * inf-ttrace.c (inf_ttrace_pid_to_str): Likewise.
2005-07-18* hppa-tdep.h (hppa_frame_prev_register_helper): Change types ofMark Kettenis4-23/+31
last argument to `gdb_byte *'. * hppa-tdep.c (hppa32_convert_from_func_ptr_addr): Rewrite. (hppa_frame_prev_register_helper): Change types of last argument to `gdb_byte *'. * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_prev_register): Change types of last argument to `gdb_byte *'.
2005-07-18* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 onMark Kettenis3-0/+6
*-*-openbsd*. * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2005-07-18 Jason Molenda <jmolenda@apple.com>Mark Kettenis2-4/+12
* i386-tdep.c (i386_match_insn): Match complete instruction pattern.
2005-07-18* i386-tdep.c (i386_reg_struct_return_p): Handle structures with aMark Kettenis2-5/+21
single 'long double' member correctly. (i386_return_value): Tweak comment.