aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-06-29*** empty log message ***gdbadmin1-1/+1
2008-06-28 * alphafbsd-tdep.c: Update for unwinder changes.Ulrich Weigand29-1208/+934
* alpha-linux-tdep.c: Likewise. * alphanbsd-tdep.c: Likewise. * alphaobsd-tdep.c: Likewise. * avr-tdep.c: Likewise. * cris-tdep.c: Likewise. * frv-linux-tdep.c: Likewise. * frv-tdep.c: Likewise. * h8300-tdep.c: Likewise. * hppa-linux-tdep.c: Likewise. * iq2000-tdep.c: Likewise. * m32c-tdep.c: Likewise. * m32r-linux-tdep.c: Likewise. * m32r-tdep.c: Likewise. * m68hc11-tdep.c: Likewise. * mep-tdep.c: Likewise. * mn10300-tdep.c: Likewise. * mt-tdep.c: Likewise. * score-tdep.c: Likewise. * sh64-tdep.c: Likewise. * sh-tdep.c: Likewise. * sparc64fbsd-tdep.c: Likewise. * sparc64nbsd-tdep.c: Likewise. * sparc64obsd-tdep.c: Likewise. * v850-tdep.c: Likewise. * vaxobsd-tdep.c: Likewise. * vax-tdep.c: Likewise. * xstormy16-tdep.c: Likewise.
2008-06-28 * mi/mi-main.c (enum captured_mi_execute_command_actions)Vladimir Prus2-37/+14
(captured_mi_execute_command_args): Remove. (captured_mi_execute_command): Cast the closure to mi_parse pointer, not to captured_mi_execute_command_args, and don't set the action field thereof. (mi_execute_command): Pass struct mi_parse, not captured_mi_execute_command_args to captured_mi_execute_command. (mi_execute_command): Remove (dead) code for suppressing printing prompt.
2008-06-28 * lib/mi-support.exp (mi_send_resuming_command_raw): RevertVladimir Prus2-1/+14
previous commit. Add a comment.
2008-06-28gdb/Pedro Alves5-58/+210
2008-06-28 Pedro Alves <pedro@codesourcery.com> * linux-nat.c (enum sigchld_state): New. (linux_nat_async_events_state): Renamed from linux_nat_async_events_enabled. (linux_nat_event_pipe_push, my_waitpid): Adjust. (sigchld_default_action): New. (lin_lwp_attach_lwp): Adjust. Call linux_nat_async_events unconditionally. (linux_nat_create_inferior): Set events state to sigchld_default state. (linux_nat_resume): Adjust. (linux_nat_wait): Call linux_nat_async_events unconditionally. (sigchld_handler): Adjust. (linux_nat_async_mask): Don't set SIGCHLD actions here. (get_pending_events): Adjust. (linux_nat_async_events): Rewrite to handle enum sigchld_state instead of a boolean. (linux_nat_async): Adjust. (_initialize_linux_nat): Capture default SIGCHLD action into sigchld_default_action. gdb/testsuite/ 2008-06-28 Pedro Alves <pedro@codesourcery.com> * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
2008-06-28 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.Vladimir Prus2-0/+5
2008-06-28Revert accidental commitVladimir Prus1-1/+1
2008-06-28 * breakpoint.c (moribund_locations): New.Vladimir Prus6-19/+131
(bpstat_stop_status): Process moribund locations. (update_global_location_list): Add removed locations to moribund_locations. (breakpoint_retire_moribund): New. * breakpoint.h (struct bp_location): New field events_till_retirement. (breakpoint_retire_moribund): Declare. * thread.c (thread_count): New. * infrun.c (handle_inferior_event): Call breakpoint_retire_moribund. * gdbthread.h (thread_count): Declare.
2008-06-28*** empty log message ***gdbadmin1-1/+1
2008-06-27 * dfp.c (decimal_convert): Call match_endianness before and afterJoseph Myers2-2/+12
conversion.
2008-06-27 * remote.c (remote_insert_breakpoint): Ensure that if Z0Jonathan Larmour2-4/+13
unsupported and we fall back to memory_insert_breakpoint, we use the unmodified requested address.
2008-06-27 * dwarf2read.c (read_attribute_value): Issue a complaint whenJoel Brobecker2-1/+12
adjusting size attribute values of 0xffffffff as zero.
2008-06-27 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.Pedro Alves3-0/+81
(gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're compiling an executable, link in an object that forces unbuffered output. * lib/set_unbuffered_mode.c: New file.
2008-06-27 * i386-tdep.c (i386_16_byte_align_p): New.Joseph Myers2-17/+91
(i386_push_dummy_call): Determine stack space required for arguments going forwards allowing for 16-byte alignment, then push arguments going forwards.
2008-06-27 * remote-utils.c (prepare_resume_reply): If requested, don'tPedro Alves4-27/+114
output "thread:TID" in the T stop reply. * server.c (disable_packet_vCont, disable_packet_Tthread) (disable_packet_qC, disable_packet_qfThreadInfo): New globals. (handle_query): If requested, disable support for qC, qfThreadInfo and qsThreadInfo. (handle_v_requests): If requested, disable support for vCont. (gdbserver_show_disableable): New. (main): Handle --disable-packet and --disable-packet=LIST. * server.h (disable_packet_vCont, disable_packet_Tthread) (disable_packet_qC, disable_packet_qfThreadInfo): Declare.
2008-06-27 * infrun.c (start_remote): Don't clear thread list here.Pedro Alves5-7/+73
* monitor.c (monitor_open): Include "gdbthread.h". Clear thread list here. * remote.c (record_currthread): Upgrade the main thread and its entry in the thread list if this is the first time we hear about threads. (remote_thread_alive): Consider magic_null_ptid or a ptid without a tid member always alive. (remote_find_new_threads): Don't update the main thread here. (remote_start_remote): Clear thread list here. Always add the main thread. (extended_remote_attach_1): Add the main thread here. (extended_remote_mourn_1): Re-add the main thread here. (extended_remote_create_inferior_1): Add a main thread. * Makefile.in (monitor.o): Depend on $(gdbthread_h).
2008-06-27Fix date.Pedro Alves1-1/+1
2008-06-27 Use ptid_t.tid to store thread ids instead of ptid_t.pid.Pedro Alves2-87/+172
* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New globals. (general_thread, continue_thread): Change type to ptid_t. (record_currthread): Take a ptid_t parameter instead of an integer. (MAGIC_NULL_PID): Delete. (set_thread): Take a ptid_t parameter and adjust. (set_general_thread, set_continue_thread): New. (remote_thread_alive, remote_newthread_step) (remote_current_thread, remote_find_new_threads) (remote_threads_info, remote_start_remote, remote_vcont_resume) (remote_resume_1, remote_wait, extended_remote_create_inferior_1) (threadalive_test, remote_pid_to_str) (remote_get_thread_local_address): Adjust. (_initialize_remote): Initialize magic_null_ptid, not_sent_ptid and any_thread_ptid.
2008-06-27*** empty log message ***gdbadmin1-1/+1
2008-06-26 * configure.ac (--enable-tui): AC_MSG_ERROR for explicit --enable-tui.Jan Kratochvil3-8/+23
* configure: Regenerated.
2008-06-26 * dwarf2read.c (read_attribute_value): Treat size attributeJoel Brobecker2-0/+17
values of 0xffffffff as if the attribute value was zero.
2008-06-26 * linux-nat.c: Add description of overall logic.Vladimir Prus2-45/+98
2008-06-26 * Makefile.in (GNULIB_H): Use GNULIB_STDINT_H.Daniel Jacobowitz18-3500/+90
(gdb_stdint_h, gdb_stdint.h, stamp-int): Delete. Remove all dependencies on $(gdb_stdint_h). (distclean): Do not delete gdb_stdint.h. * acinclude.m4: Do not use stdint.m4. * configure.ac: Set GNULIB_STDINT_H. Remove tests for stdint.h, uintptr_t, and gdb_stdint.h. * defs.h: Include <stdint.h>. * gdb_thread_db.h: Assume stdint.h is already included. * breakpoint.c, findcmd.c, hppa-tdep.c, inf-ptrace.c, proc-service.c, rs6000-nat.c, spu-linux-nat.c, target.c, win32-nat.c: Do not include gdb_stdint.h. * configure, config.in: Regenerate.
2008-06-26 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passingJoseph Myers2-19/+38
decimal floating-point values in GPRs for soft-float. (do_ppc_sysv_return_value): Handle returning decimal floating-point values in GPRs for soft-float.
2008-06-26 * target.c (target_read_until_error): New.Vladimir Prus5-3/+81
* target.h (target_read_until_error): Declare. * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read_until_error.
2008-06-26*** empty log message ***gdbadmin1-1/+1
2008-06-25 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.Jan Kratochvil2-1/+5
2008-06-25 Fix a memory leak found by Hui Zhu <teawater@gmail.com>.Jan Kratochvil2-14/+24
* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization after the DECFLOAT detection to fix a memory leak. Remove the redundant NUM initialization. Protect the DECFLOAT detection memory access before the P block. Restore the P memory content for the DECFLOAT detection.
2008-06-25Revert accidental commit.Daniel Jacobowitz1-2/+0
2008-06-25 Kill the return value for all MI command functions.Vladimir Prus12-201/+111
* mi/mi-cmds.h (enum mi_cmd_result): Remove. (mi_cmd_argv_ftype): Change return type to void. * mi/mi-main.c: Adjust all function that implement MI commands to return nothing. (struct captured_mi_execute_command_actions): Remove the rc field. (mi_cmd_execute): Return nothing. (mi_execute_async_cli_command): Return nothing. (mi_cmd_exec_interrupt): Don't print ^done here. (mi_cmd_target_select): Don't print ^connected here. (captured_mi_execute_command): Don't check for MI_CMD_DONE. Special-case -target-select and output ^connected, not ^done. * mi/mi-cmd-break.c: Adjust. * mi/mi-cmd-disas.c: Adjust. * mi/mi-cmd-env.c: Adjust. * mi/mi-cmd-file.c: Adjust. * mi/mi-cmd-stack.c: Adjust. * mi/mi-cmd-target.c: Adjust. * mi/mi-cmd-var.c: Adjust. * mi/mi-interp.c: Adjust. * mi/mi-symbol-cmds.c: Adjust.
2008-06-25 Emit ^running via observer.Vladimir Prus7-139/+109
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print ^running here. (mi_on_resume): Print ^running if not previously output. * mi/mi-main.c (running_result_record_printed): New. (captured_mi_execute_command): Reset running_result_record_printed. Use running_result_record_printed to decide if we should skip ^done. (mi_execute_async_cli_command): Don't print ^running here. * mi/mi-main.h (current_token, running_result_record_printed): Declare.
2008-06-25 * elf32-arm.c (STUB_ENTRY_NAME): Define.Daniel Jacobowitz1-0/+2
(arm_thumb_thumb_long_branch_stub): Use bx instead of b.n. (arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of R_ARM_ABS32. (struct elf32_arm_stub_hash_entry): Add output_name. (arm_build_one_stub): Move offsets into the offset argument of _bfd_final_link_relocate. Correct offset for arm_thumb_arm_v4t_stub_long_branch. (elf32_arm_size_stubs): Set stub_entry->output_name. (elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym. Update all callers. (elf32_arm_output_stub_sym): New. (arm_map_one_stub): Correct formatting. Use elf32_arm_output_stub_sym. * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d, ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d, ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d, ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, ld-arm/farcall-thumb-arm-blx-pic-veneer.d, ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm.d, ld-arm/farcall-thumb-thumb-blx-pic-veneer.d, ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d, ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for stub symbols and stub corrections.
2008-06-25*** empty log message ***gdbadmin1-1/+1
2008-06-242008-06-24 Michael Snyder <msnyder@specifix.com>Michael Snyder2-6/+9
* infrun.c (_initialize_infrun): White space and typo fix.
2008-06-24* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.Christopher Faylor3-4/+12
(do_initial_win32_stuff): Fix problem with inability to set breakpoints when first loading DLL with "dll" command.
2008-06-24*** empty log message ***gdbadmin1-1/+1
2008-06-23 * fix wrong entry datesPierre Muller1-3/+3
2008-06-23*** empty log message ***gdbadmin1-1/+1
2008-06-22*** empty log message ***gdbadmin1-1/+1
2008-06-21*** empty log message ***gdbadmin1-1/+1
2008-06-20gdb/gdbserver/Carlos O'Donell2-0/+5
2008-06-20 Carlos O'Donell <carlos@codesourcery.com> * server.c (gdbserver_usage): Mention --version.
2008-06-20 * gnu-nat.c (proc_string): Use capital T for "Thread".Pierre Muller2-1/+5
2008-06-20*** empty log message ***gdbadmin1-1/+1
2008-06-19 * win32-nat.c (win32_pid_to_str): Use capital T for "Thread".Pierre Muller3-2/+6
2008-06-19*** empty log message ***gdbadmin1-1/+1
2008-06-18 * solib-osf.c (osf_solib_create_inferior_hook): Do nothing ifJoel Brobecker2-2/+14
the target cannot run.
2008-06-18 * solib-osf.c (osf_solib_create_inferior_hook): Do nothing ifJoel Brobecker2-0/+10
we're attaching to a running process.
2008-06-18 * win32-nat.c (handle_load_dll): Give dll name and load addressPierre Muller3-0/+16
if debug_events is on. (handle_unload_dll): Likewise.
2008-06-18*** empty log message ***gdbadmin1-1/+1
2008-06-17*** empty log message ***gdbadmin1-1/+1