aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-06-30 PR 6585Ian Lance Taylor2-1/+7
* symtab.cc (Symbol_table::add_undefined_symbols_from_command_line): Correct typo.
2008-06-30 * frame.c (get_prev_frame_1): Call frame_unwind_find_by_frameDaniel Jacobowitz2-3/+13
directly instead of get_frame_id.
2008-06-30 PR 6660Ian Lance Taylor2-14/+10
PR 6682 * powerpc.cc (Powerpc_relocate_functions::addr16_ha) [both versions]: Don't try to read the value in the contents, since we don't use it. Use the template endianness when writing.
2008-06-30 * elf32-arm.c (record_arm_to_thumb_glue, record_thumb_to_arm_glue):Daniel Jacobowitz2-3/+14
Expand comments. (arm_map_one_stub): Use | 1 when setting the low bit.
2008-06-30 * rs6000-tdep.c (ppc_displaced_step_fixup): New function.Luis Machado2-3/+118
(deal_with_atomic_sequence): Update BC masks. (rs6000_gdbarch_init): Init displaced stepping infra-structure. Define BRANCH_MASK, B_INSN, BC_INSN, BXL_INSN, BP_MASK and BP_INSN.
2008-06-30 * cris-tdep.c (crisv32_single_step_through_delay): Get this frame'sDaniel Jacobowitz2-9/+7
register, not the previous frame's.
2008-06-30 * source.c (select_source_symtab): Make sure we skip namespaceLuis Machado2-4/+12
symtabs when showing cpp source code.
2008-06-30 * MAINTAINERS (Authorized committers): Fix my email address.Hans-Peter Nilsson2-1/+5
2008-06-30daily updateAlan Modra1-1/+1
2008-06-30*** empty log message ***gdbadmin1-1/+1
2008-06-29 * mi/mi-cmds.c (mi_cmds): Route -exec-run, -exec-until,Vladimir Prus4-75/+21
-target-download and -target-select via CLI, so that the quoting rules are the same as they were (unfortunately) in all prior gdb releases. * mi/mi-cmds.h (mi_cmd_exec_run, mi_cmd_exec_until) (mi_cmd_target_download, mi_cmd_target_select): Remove. * mi/mi-main.c (mi_cmd_exec_run, mi_cmd_exec_until) (mi_cmd_target_download, mi_cmd_target_select): Remove. (mi_cmd_execute): Set current_token even for commands routed via CLI.
2008-06-29 * elf32-m68k.c (elf_m68k_relocate_section): Don't ignore existingAndreas Schwab6-3/+50
addend on _GLOBAL_OFFSET_TABLE_. ld/testsuite/: * ld-m68k/got-1.s: New file. * ld-m68k/got-1.d: New dump test. * ld-m68k/m68k.exp: Run it.
2008-06-29daily updateAlan Modra1-1/+1
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-28daily updateAlan Modra1-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* gas/mips/odd-float.d: Replace ... with #pass.Chao-ying Fu5-3/+11
* gas/mips/ldstla-32-shared.d: Add -march=mips1 for as. * gas/mips/ldstla-32.d: Likewise. * gas/mips/mips16-hilo-match.d: Add -mabi=32 -march=mips1 for as.
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-27daily updateAlan Modra1-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-26daily updateAlan Modra1-1/+1
2008-06-26*** empty log message ***gdbadmin1-1/+1
2008-06-252008-06-25 Cary Coutant <ccoutant@google.com>Cary Coutant3-0/+14
* fileread.cc (File_read::make_view): Assert on zero-length view. * object.cc (Sized_relobj::do_read_symbols): Don't try to read symbol table when there are no symbols to read.
2008-06-25gas/Peter Bergner5-2/+23
* config/tc-ppc.c (parse_cpu): Handle -m464. (md_show_usage): Likewise. opcodes/ * ppc-dis.c (powerpc_init_dialect): Handle -M464. (print_ppc_disassembler_options): Likewise. * ppc-opc.c (PPC464): Define. (powerpc_opcodes): Add mfdcrux and mtdcrux.
2008-06-25/gas:Eric B. Weddington3-1/+8
2008-06-24 Eric B. Weddington <eric.weddington@atmel.com> Add support for ATtiny13A. * config/tc-avr.c (mcu_types): Add attiny13a. * doc/c-avr.texi: Likewise.
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.