aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18 * linux-nat.c (linux_nat_find_memory_regions): Result of PIDGET is anDoug Evans2-11/+17
int, not a long long. (linux_nat_info_proc_cmd): Store pid in long instead of long long.
2009-03-18 * expprint.c (dump_raw_expression): Print note if non-NULL.Doug Evans2-1/+8
2009-03-18 * printcmd.c (display_uses_solib_p): Redo loop, scan element listDoug Evans2-8/+16
backwards.
2009-03-18 * return-nodebug.c: Don't include stdio.h.Pedro Alves4-32/+70
(init): Delete. (func): Delete definition and provide extern declaration. (t): New. (main): Don't call printf. Call func and store its result in t. * return-nodebug1.c: New. * return-nodebug.exp: Don't expect stdio output. Instead, print the global variable t. Drop printf formatters and cast types from foreach loop. Don't use prepare_for_testing. Compile return-nodebug.c and return-nodebug1.c in separate steps. Don't define FORMAT or CAST.
2009-03-18 * Makefile.in: Update license to GPLv3.Nathan Sidwell19-166/+154
* ada-exp.y: Update license to GPLv3. * ada-lex.l: Update license to GPLv3. * c-exp.y: Update license to GPLv3. * cp-name-parser.y: Update license to GPLv3. * darwin-nat-info.c: Update license to GPLv3. * f-exp.y: Update license to GPLv3. * gdb_thread_db.h: Update license to GPLv3. * hppanbsd-nat.c: Update license to GPLv3. * hppanbsd-tdep.c: Update license to GPLv3. * hppaobsd-tdep.c: Update license to GPLv3. * jv-exp.y: Update license to GPLv3. * m2-exp.y: Update license to GPLv3. * objc-exp.y: Update license to GPLv3. * p-exp.y: Update license to GPLv3. * reply_mig_hack.awk: Update license to GPLv3. * reverse.c: Update license to GPLv3. * xtensa-xtregs.c: Update license to GPLv3.
2009-03-182009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+5
* gdb.base/solib-display.exp: Disable test for remote targers.
2009-03-18 * remote.c (remote_close): Don't call generic_mourn_inferior.Pedro Alves2-3/+8
(remote_mourn_1): Call generic_mourn_inferior after closing the target.
2009-03-18 * remote.c (remote_start_remote): Add missing call toPedro Alves2-0/+7
init_wait_for_inferior in non-stop mode.
2009-03-18 * breakpoint.c (bpstat_should_step): Only consider softwarePedro Alves2-1/+6
watchpoints that have a location.
2009-03-18*** empty log message ***gdbadmin1-1/+1
2009-03-17Correct typo which gave me an accidental promotion.Christopher Faylor1-1/+1
2009-03-17 Rename "process" to "lwp" throughout.Pedro Alves5-209/+257
* linux-low.c (all_processes): Rename to... (all_lwps): ... this. (inferior_pid, handle_extended_wait, get_stop_pc): Adjust. (add_process): Rename to ... (add_lwp): ... this. Adjust. (linux_create_inferior): Adjust. (linux_attach_lwp): Adjust. (linux_attach): Adjust. (linux_kill_one_process): Rename to ... (linux_kill_one_lwp): ... this. Adjust. (linux_kill): Adjust. (linux_detach_one_process): Rename to ... (linux_detach_one_lwp): ... this. Adjust. (linux_detach): Adjust. (check_removed_breakpoint): Adjust. (status_pending_p): Adjust. (linux_wait_for_process): Rename to ... (linux_wait_for_lwp): ... this. Adjust. (linux_wait_for_event): Adjust. (send_sigstop): Adjust. (wait_for_sigstop): Adjust. (stop_all_processes): Rename to ... (stop_all_lwps): ... this. (linux_resume_one_process): Rename to ... (linux_resume_one_lwp): ... this. Adjust. (linux_set_resume_request, linux_continue_one_thread) (linux_queue_one_thread, resume_status_pending_p) (usr_store_inferior_registers, regsets_store_inferior_registers) (linux_request_interrupt, linux_read_offsets, linux_xfer_siginfo): Adjust. * linux-low.h (get_process): Rename to ... (get_lwp): ... this. Adjust. (get_thread_process): Rename to ... (get_thread_lwp): ... this. Adjust. (get_process_thread): Rename to ... (get_lwp_thread): ... this. Adjust. (struct process_info): Rename to ... (struct lwp_info): ... this. (all_processes): Rename to ... (all_lwps): ... this. * proc-service.c (ps_lgetregs): Adjust. * thread-db.c (thread_db_create_event, find_one_thread) (maybe_attach_thread, thread_db_get_tls_address): Adjust.
2009-03-17 Add a target_ops parameter to the to_kill method in struct target_ops.Joel Brobecker17-44/+63
* target.h (struct target_ops): Add a "target_ops *" parameter to method to_kill. (target_kill): Remove macro. Add declaration. * target.c (debug_to_kill): Delete, no longer necessary. (target_kill): New function. (update_current_target): Stop inheriting the to_kill method. Do not de_fault it to no_process either. (setup_target_debug): Do not set current_target.to_kill. * gnu-nat.c, go32-nat.c, hpux-thread.c, inf-ptrace.c, inf-ttrace.c, linux-nat.c, monitor.c, nto-procfs.c, procfs.c, remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c, windows-nat.c: Update accordingly.
2009-03-17 * amd64-linux-nat.c (si_timerid,si_overrun): Provide definition forDoug Evans2-0/+14
glibc 2.3.2 and earlier.
2009-03-17 * frame.c (get_prev_frame_1): Do not perform the inner_frameJoel Brobecker2-12/+25
sanity check if this_frame is not NORMAL. (frame_id_inner): Update the description of this function.
2009-03-17* gdb.texinfo: Change the introduce of "disassemble-next-line".Hui Zhu2-3/+7
2009-03-17* stack.c: Change the introduce of "disassemble-next-line".Hui Zhu2-6/+10
2009-03-17 * mi/mi-main.h (mi_print_timing_maybe): Add strict prototype,Pedro Alves2-2/+7
declare as extern.
2009-03-17Add missing space.Pedro Alves1-1/+1
2009-03-17* gdb.texinfo: Add documentation for disassemble-next-line.Hui Zhu2-1/+20
2009-03-17 *stack.c: Include valprint.h.Hui Zhu2-0/+103
(disassemble_next_line): New enum. (show_disassemble_next_line): New function. Show the current value of disassemble-next-line. (gdb_disassembly_stub_args): New struct for argument passing between function do_gdb_disassembly and function gdb_disassembly_stub. (gdb_disassembly_stub): New function. Helper for gdb_disassembly. (do_gdb_disassembly): New function. Use TRY_CATCH to catch the exception from the gdb_disassembly because it will be broken by filter sometime. (print_frame_info): If disassemble-next-line is set to auto or on and doesn't have the line debug messages for $pc, output the next instruction. If disassemble-next-line is set to on and there is line debug messages, output assembly codes for next line. (_initialize_stack): Make the "set disassemble-next-line" command an auto-boolean command. Change its class to class_stack. Place it in the top level set list. Extend help to describe the auto mode.
2009-03-17 * infrun.c (normal_stop): Don't overwrite old_chain.Pedro Alves2-2/+6
2009-03-17*** empty log message ***gdbadmin1-1/+1
2009-03-16 * remote-mips.c (mips_load): Replace call to regcache_set_valid_p,Joel Brobecker2-3/+9
which is undefined, by call to regcache_invalidate, which should do what the original author wanted to do.
2009-03-16 * remote-mips.c (mips_mourn_inferior): Add missing ops parameter.Joel Brobecker2-3/+9
(mips_create_inferior): Likewise.
2009-03-16 * go32-nat.c (go32_create_inferior): Add missing ops parameter.Joel Brobecker2-1/+6
2009-03-16 * darwin-nat.c (darwin_resume): Fix a compiler warning whenJoel Brobecker2-1/+6
building on x86_64-darwin.
2009-03-16 * configure.tgt: Add handling for x86_64-darwin.Joel Brobecker2-1/+5
2009-03-16gdb/Jan Kratochvil2-0/+5
* auxv.c (fprint_target_auxv): New TAG for AT_RANDOM.
2009-03-16 * gdb.texinfo (Commands In Python): Remove tindex entries.Thiago Jung Bauermann2-2/+4
2009-03-16*** empty log message ***gdbadmin1-1/+1
2009-03-15 * aix-thread.c (aix_thread_thread_alive, aix_thread_pid_to_str):Joel Brobecker2-2/+9
Use the ops parameter to get to the target beneath, rather than using the current_target global. Using the current_target global was an unintended accident.
2009-03-15 Fix an error happening while loading symbols from a core fileJoel Brobecker2-1/+10
(on AIX). * rs6000-nat.c (xcoff_relocate_symtab): Use target_has_execution to detect whether we're debugging a core file or not.
2009-03-15 Modernize the aix-thread later by getting rid of the base_targetJoel Brobecker2-31/+42
global. This brings back to life the AIX port which was otherwise crashing all the time. * aix-thread.c (base_target): Delete. (pd_enable): Do not set base_target. (aix_thread_attach): Use find_target_beneath instead of base_target. (aix_thread_detach, aix_thread_resume, aix_thread_wait) (aix_thread_fetch_registers, aix_thread_store_registers), (aix_thread_xfer_partial, aix_thread_mourn_inferior) (aix_thread_thread_alive, aix_thread_pid_to_str): Likewise. (aix_thread_kill): Delete. Does not seem necessary. (init_aix_thread_ops): Do not set aix_thread_ops.to_kill.
2009-03-15gdb/Jan Kratochvil7-10/+191
* stack.c (return_command <retval_exp>): New variables retval_expr and old_chain. Inline parse_and_eval to initialize retval_expr. Check RETVAL_EXPR for UNOP_CAST and set RETURN_TYPE to the RETURN_VALUE type if RETURN_TYPE is NULL. gdb/doc/ * gdb.texinfo (Returning): New description for missing debug info. gdb/testsuite/ * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2009-03-15*** empty log message ***gdbadmin1-1/+1
2009-03-14 Fix a racy FAIL.Jan Kratochvil2-57/+68
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with code from `follow parent, print pids'. (`follow child, print pids', `follow parent, print pids'): Call it. Replace `gdb_test "break..."' by gdb_breakpoint.
2009-03-142009-03-14 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-8/+116
gdb/ * remote.c (PACKET_qAttached): New. (remote_query_attached): New. (remote_add_inferior): Add new `attached' argument. Handle it. (remote_notice_new_inferior, remote_start_remote): Adjust to pass -1 to remote_add_inferior in new parameter. (extended_remote_attach_1): Adjust to pass 1 to remote_add_inferior in the new parameter. (extended_remote_create_inferior_1): Adjust to pass 0 to remote_add_inferior in the new parameter. (_initialize_remote): Add "set/show remote query-attached-packet" commands. 2009-03-14 Pedro Alves <pedro@codesourcery.com> gdb/gdbserver/ * server.c (handle_query): Handle "qAttached". 2009-03-14 Pedro Alves <pedro@codesourcery.com> gdb/doc/ * gdb.texinfo (Remote Configuration): Document query-attached. (General Query Packets): Document qAttached.
2009-03-14*** empty log message ***gdbadmin1-1/+1
2009-03-13 * symtab.c (lookup_symbol_in_language): Use a cleanup.Tom Tromey2-5/+8
2009-03-13 * exceptions.h: Clean up some comments on catch_exceptions usage.Doug Evans3-22/+31
* exceptions.c: Ditto. Plus mark catch_errors as superseded by catch_exceptions.
2009-03-13 * gdb.mi/mi-cli.exp: Adjust for output difference inVladimir Prus2-4/+26
sync and async modes.
2009-03-13 * Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change toNathan Sidwell5-12/+12
GPLv3, update license URL.
2009-03-13 * source.c (source_full_path_of): Constify parameter filename.Joel Brobecker3-2/+9
* defs.h (source_full_path_of): Update declaration accordingly.
2009-03-13 * ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM andJoel Brobecker2-17/+9
BINOP_MOD cases with the handling of case BINOP_DIV and BINOP_MUL. Remove useless op value checks when EVAL_AVOID_SIDE_EFFECTS.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out codeJoel Brobecker2-19/+6
that was checked in by mistake. Remove loading of ada.exp, since this is not necessary in this case.
2009-03-13 * gdb.ada/ptype_arith_binop.exp: New testcase.Joel Brobecker2-0/+59
2009-03-13 * ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure toJoel Brobecker2-1/+9
promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
2009-03-13Fix the author name in the last entry.Joel Brobecker1-1/+1
2009-03-13 * ada-tasks.c (ada_task_is_alive): Move up and make static.Joel Brobecker3-11/+14
* ada-lang.h (ada_task_is_alive): Remove declaration.