aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2012-09-05*** empty log message ***gdbadmin1-1/+1
2012-09-04 * linux-crisv32-low.c: Fix compile errors.Hans-Peter Nilsson2-12/+15
2012-09-04gdb/gdbserver/Yao Qi2-8/+7
* tracepoint.c (cmd_qtsv): Adjust debug message. Don't check CUR_TPOINT.
2012-09-04*** empty log message ***gdbadmin1-1/+1
2012-09-03*** empty log message ***gdbadmin1-1/+1
2012-09-022012-09-02 Khoo Yit Phang <khooyp@cs.umd.edu>Yit Phang Khoo3-85/+158
Do not enable -lmcheck by default when Python is enabled with threading support. * configure.ac: (python_has_threads) New variable, by testing if WITH_THREAD is defined in Python.h. Move --enable-lmcheck after --with-python. Do not enable -lmcheck by default if python_has_threads=yes. Warn if --enable-lmcheck and python_has_threads=yes. * configure: Regenerate.
2012-09-02*** empty log message ***gdbadmin1-1/+1
2012-09-012012-08-30 Khoo Yit Phang <khooyp@cs.umd.edu>Yit Phang Khoo1-0/+4
* MAINTAINERS (Write After Approval): Add "Khoo Yit Phang".
2012-09-01*** empty log message ***gdbadmin1-1/+1
2012-08-31gdb/Yao Qi4-115/+145
* mi/mi-cmds.c (mi_cmds): New macros DEF_MI_CMD_CLI DEF_MI_CMD_MI DEF_MI_CMD_CLI_1 and DEF_MI_CMD_CLI_1. Update some commands. * mi/mi-cmds.h (struct mi_cmd) <suppress_notification>: New field. * mi/mi-main.c (mi_cmd_execute): Set '*parse->cmd->suppress_notification' to 1.
2012-08-31gdb/Yao Qi2-1/+5
* mi/mi-cmds.c (mi_cmds): Add 'static'.
2012-08-31*** empty log message ***gdbadmin1-1/+1
2012-08-30Add "Khoo Yit Phang" to gdb/MAINTAINERS.Yit Phang Khoo1-0/+1
2012-08-30*** empty log message ***gdbadmin1-1/+1
2012-08-29 * main.c (print_gdb_help): Remove reference toDoug Evans2-4/+5
--use-deprecated-index-sections.
2012-08-29*** empty log message ***gdbadmin1-1/+1
2012-08-28gdb/gdbserver/Yao Qi5-38/+23
* ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. * server.h: Include 'libiberty.h' and 'ansidecl.h'. (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove. Remove declarations of xmalloc, xreallloc, xstrdup and freeargv. * Makefile.in (libiberty_h): New. (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'. (linux-bfin-low.o): Append dependency 'libiberty.h'.
2012-08-28gdb/Yao Qi6-33/+55
* cli/cli-cmds.c (max_user_call_depth): Add 'unsigned'. (init_cmds): Call add_setshow_uinteger_cmd for command 'max-user-call-depth'. * cli/cli-script.c (execute_user_command): Add 'unsigned' to the declaration of 'max_user_call_depth'. * frame.c (backtrace_limit): Add 'unsigned'. (_initialize_frame): Call add_setshow_uinteger_cmd for command 'limit'. * remote.c (remoteaddresssize): Add 'unsigned'. (remote_address_masked): Change local var 'address_size' to 'unsigned'. (_initialize_remote): Call add_setshow_uinteger_cmd for 'remoteaddresssize'. * top.c (history_size): Add 'unsigned'. (show_commands): Change local variables to 'unsigned'. (set_history_size_command): Don't check history_size is negative. Adjust the condition to call unstifle_history and set history_size to UNIT_MAX.
2012-08-282012-08-28 Pedro Alves <palves@redhat.com>Pedro Alves4-76/+110
PR gdb/14428 gdb/ * infcmd.c (default_print_one_register_info): New, factored out from default_print_registers_info. (default_print_registers_info): Use it. Mark value unavailable if necessary. (registers_info): Print user registers with default_print_one_register_info. gdb/testsuite/ * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2012-08-28*** empty log message ***gdbadmin1-1/+1
2012-08-27Check if TUI_SRC_WIN is not NULL before referencing itH.J. Lu2-1/+8
PR tui/14486 * tui/tui-source.c (tui_source_is_displayed): Check if TUI_SRC_WIN is not NULL before referencing it.
2012-08-27gdb/Jan Kratochvil5-2/+105
* breakpoint.c (parse_breakpoint_sals) <(*address) == NULL>: New variable pc. Call find_pc_line instead of find_pc_overlay, restore original PC for it. gdb/testsuite/ * gdb.base/break-caller-line.c: New file. * gdb.base/break-caller-line.exp: New file.
2012-08-27gdb/Jan Kratochvil4-9/+64
* auto-load.c (auto_load_objfile_script): Rename to ... (auto_load_objfile_script_1): ... here, change variable realname to parameter realname, document it, add return value, add variable retval. (auto_load_objfile_script): New function. gdb/doc/ * gdb.texinfo (objfile-gdb.py file): New paragraph for .exe stripping.
2012-08-27gdb/Jan Kratochvil2-1/+9
* cli/cli-decode.c (print_doc_line): Keep skipping '.' and ',' not followed by a whitespace.
2012-08-27ChangeLog fix:Jan Kratochvil1-0/+1
PR gdb/14494. * dwarf2read.c (dwarf2_locate_sections): Move variable aflag here. Move the SEC_HAS_CONTENTS check here - for any NAMES use. (dwarf2_locate_sections) <eh_frame>: Move the variable and check from here.
2012-08-27gdb/Jan Kratochvil2-8/+14
* dwarf2read.c (dwarf2_locate_sections): Move variable aflag here. Move the SEC_HAS_CONTENTS check here - for any NAMES use. (dwarf2_locate_sections) <eh_frame>: Move the variable and check from here.
2012-08-27gdb/testsuite/Jan Kratochvil4-0/+119
* gdb.ada/rdv_wait.exp (set debug-file-directory): New command. * gdb.arch/i386-cfi-notcurrent.S: New file. * gdb.arch/i386-cfi-notcurrent.exp: New file.
2012-08-272012-08-27 Wei-cheng Wang <cole945@gmail.com>Pedro Alves4-1/+106
* memattr.c (create_mem_region): Fix memory region overlapping checking. 2012-08-27 Wei-cheng Wang <cole945@gmail.com> Yao Qi <yao@codesourcery.com> Pedro Alves <palves@redhat.com> * gdb.base/memattr.exp (delete_memory, region_pass, region_fail): New procedures. (top level): Add overlap checking tests.
2012-08-27*** empty log message ***gdbadmin1-1/+1
2012-08-26*** empty log message ***gdbadmin1-1/+1
2012-08-25*** empty log message ***gdbadmin1-1/+1
2012-08-24 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set ifTom Tromey2-3/+7
gdb_test_multiple fails for other reasons.
2012-08-24Move misplaced entries from gdb/ChangeLog to gdb/doc/ChangeLog.Yit Phang Khoo2-3/+12
2012-08-23 Khoo Yit Phang <khooyp@cs.umd.edu> Document how to return from "python-interactive" to GDB. * gdb.texinfo (Python Commands): Update documentation. 2012-08-22 Khoo Yit Phang <khooyp@cs.umd.edu> Add a new "python-interactive" command that starts a standard Python interactive prompt with "pi" as alias, and add "py" as an alias to "python". * gdb.texinfo (Python Commands): Document the new commands.
2012-08-24 * h8300-tdep.c (h8300_push_dummy_call): Replace unsafe allocaSiddhesh Poyarekar5-7/+31
with xmalloc/cleanup. * mt-tdep.c (mt_push_dummy_call): Likewise. * tilegx-tdep.c (tilegx_push_dummy_call): Likewise. * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise.
2012-08-24gdb/testsuite/Yao Qi2-6/+4
* lib/gdb.exp (skip_unwinder_tests): Remove pass.
2012-08-24gdb/Yao Qi2-1/+6
* jv-exp.y (push_expression_name): Add "." at the end of error message.
2012-08-24*** empty log message ***gdbadmin1-1/+1
2012-08-23 Document how to return from "python-interactive" to GDB.Yit Phang Khoo3-2/+12
* doc/gdb.texinfo (Python Commands): Update documentation. * python/python.c (_initialize_python): Update documentation.
2012-08-232012-08-23 Pedro Alves <palves@redhat.com>Pedro Alves4-6/+19
gdb/ * infrun.c (_initialize_infrun) <handle command help text>: Mention that multiple signals are supported. gdb/testsuite/ * gdb.base/help.exp: Adjust to "handle" help text change.
2012-08-232012-08-23 Pedro Alves <palves@redhat.com>Pedro Alves2-1/+6
* infcmd.c (_initialize_infcmd) <signal command>: Fix typo in help string.
2012-08-23gdb/Yao Qi5-30/+109
* tracepoint.c (disconnect_tracing): Call set_tracepoint_num. (tfind_1): Don't call registers_changed, set_traceframe_num, and clear_traceframe_info. Call set_current_traceframe. (set_current_traceframe): call set_traceframe_num. gdb/testsuite: * gdb.trace/disconnected-tracing.c (start, end): New. (main): Call start and end. * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move existing tests into this proc. (disconnected_tfind): New.
2012-08-23gdb/testsuite/Yao Qi4-16/+23
* boards/native-gdbserver.exp (${board}_upload): New. * boards/native-stdio-gdbserver.exp (${board}_upload): New. * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'. Execute tfile on remote target. Copy trace file from target to host.
2012-08-23gdb/gdbserver/Yao Qi2-2/+5
* server.h: Remove declaration of 'xsnprintf'.
2012-08-23*** empty log message ***gdbadmin1-1/+1
2012-08-222012-08-22 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-1/+6
* remote-sim.c (_initialize_remote_sim): Pass NULL argument to `register_inferior_data_with_cleanup', fixing regression on PowerPC64.
2012-08-22 Enable readline in Python in a GDB-specific way and block theYit Phang Khoo5-0/+134
standard Python readline module to prevent conflicts with GDB. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-gdb-readline.o. (SUBDIR_PYTHON_SRCS): Add python/py-gdb-readline.c. (py-gdb-readline.o): Add rule to compile python/py-gdb-readline.c. * python/py-gdb-readline.c: New file. * python/python-internal.h (gdbpy_initialize_gdb_readline): New prototype. * python/python.c (_initialize_python): Call gdbpy_initialize_gdb_readline.
2012-08-22 * defs.h: Include build-gnulib/config.hKeith Seitz5-0/+13
* server.h: Include build-gnulib-gbserver/config.h. * gdbreplay.c: Likewise.
2012-08-22 * arm-tdep.c (thumb_get_next_pc_raw): Mask off low bits for bx pcJoseph Myers5-1/+86
and blx pc. testsuite: * gdb.arch/thumb-bx-pc.S: New file. * gdb.arch/thumb-bx-pc.exp: New file.
2012-08-22 Add a new "python-interactive" command that starts a standardYit Phang Khoo4-4/+145
Python interactive prompt with "pi" as alias, and add "py" as an alias to "python". * NEWS: Mention the new commands. * doc/gdb.texinfo (Python Commands): Document the new commands. * python/python.c (eval_python_command): New function. (python_interactive_command): For "python-interactive" with arguments, call eval_python_command. For "python-interactive" without arguments, call PyRun_InteractiveLoop. (_initialize_python): Add "python-interactive" command with "pi" as alias, and add "py" as an alias to "python".
2012-08-22 * defs.h (quit_flag): Don't declare.Tom Tromey13-16/+131
(clear_quit_flag, check_quit_flag, set_quit_flag): Declare. (QUIT): Use new functions. * event-top.c (command_handler): Use clear_quit_flag. (handle_sigint): Use set_quit_flag. (async_request_quit): Use check_quit_flag. Don't check immediate_quit. * exceptions.c (throw_exception): Use clear_quit_flag. * main.c (captured_main): Use clear_quit_flag. * python/python.c (clear_quit_flag, set_quit_flag) (check_quit_flag): New functions. * remote-sim.c (gdb_os_poll_quit): Use check_quit_flag, clear_quit_flag. * remote.c (remote_wait_as): Use check_quit_flag, clear_quit_flag. (remote_start_remote): Call QUIT. * symfile.c (load_progress): Use check_quit_flag. * top.c (command_loop): Use clear_quit_flag. (command_line_input): Call QUIT. * utils.c (quit_flag): Conditionally define. (clear_quit_flag, check_quit_flag, set_quit_flag): New functions. (prompt_for_continue): Call QUIT. Use quit, not async_request_quit. * remote-mips.c (mips_expect_timeout): Call QUIT. * monitor.c (monitor_expect): Call QUIT.