aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-03-11 * breakpoint.c (bpstat_check_breakpoint_conditions): UseDaniel Jacobowitz3-2/+18
value_mark and value_free_to_mark. * objfiles.c (free_objfile): Call objfile_free_data before freeing the BFD.
2009-03-11*** empty log message ***gdbadmin1-1/+1
2009-03-10 * disasm.c (gdb_disassembly): Remove unused argumentHui Zhu5-4/+9
"line_num". * disasm.h (gdb_disassembly): Ditto. * cli/cli-cmds.c (print_disassembly): Ditto. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
2009-03-10*** empty log message ***gdbadmin1-1/+1
2009-03-092009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-11/+30
* solib.c (solib_contains_address_p): New function. (solib_name_from_address): Use it. * printcmd.c (display_uses_solib_p): Use it. * solib.h (solib_contains_address_p): Declare it.
2009-03-09 * varobj.c (free_variable): Call value_free.Jan Kratochvil2-0/+6
2009-03-09 PR gdb/9873:Jan Kratochvil2-21/+152
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'. Move the variable `macinfo_type' out of the loop. Create a new processing pass before the current one to pre-create `current_file'. New complaint on misplaced zero/non-zero definitions/includes. Skip first DW_MACINFO_start_file with `at_commandline' set.
2009-03-09 * solib.c (reload_shared_libraries): GiveVladimir Prus2-0/+28
inferior a chance to reset solib breakpoint. Reinit frame cache.
2009-03-09Minor formatting changeChristopher Faylor1-1/+1
2009-03-09*** empty log message ***gdbadmin1-1/+1
2009-03-08* windows-nat.c (dr): Redefine to use largest possible integer which holds aChristopher Faylor2-2/+42
pointer. (cygwin_set_dr): Avoid coercion. * windows-nat.c (windows_create_inferior): implement --tty handling on non-cygwin.
2009-03-08*** empty log message ***gdbadmin1-1/+1
2009-03-07*** empty log message ***gdbadmin1-1/+1
2009-03-062009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov6-11/+22
Rename solib_address to solib_name_from_address. * breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib): Update. * printcmd.c (display_uses_solib_p): Likewise. * stack.c (print_frame): Likewise. * solib.c: Rename. * solib.h: Rename.
2009-03-06*** empty log message ***gdbadmin1-1/+1
2009-03-052009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov7-2/+291
* printcmd.c (do_one_display): Reparse exp_string. (display_uses_solib_p): New function. (clear_dangling_display_expressions): New function. (_initialize_printcmd): Add observer. * solib.c (no_shared_libraries): Swap order of calls to clear_solib and objfile_purge_solibs.
2009-03-05 Implement the target-specific part of Ada tasking supportJoel Brobecker2-0/+29
on Tru64. * dec-thread.c (dec_thread_get_ada_task_ptid): New function. (init_dec_thread_ops): Set the to_get_ada_task_ptid method.
2009-03-05 Get rid of the global "base_target" and use "find_target_beneath"Joel Brobecker3-24/+54
to find the underlying target. * dec-thread.c (base_target): Delete. (enable_dec_thread): Remove assignement to base_target. (dec_thread_detach, dec_thread_wait, dec_thread_wait) (dec_thread_fetch_registers, dec_thread_store_registers) (dec_thread_mourn_inferior, dec_thread_pid_to_str): Update the function profile if necessary. Use find_target_beneath to call the same method but from the underlying target, removing the need for "base_target". * dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets): Fix a copy/paste error in a few debug traces... * solib-osf.c (init_so): Use a simpler method for computing the size of lm_info structure. This also gets rid of warning emitted by the compiler.
2009-03-05 * gdb.texinfo (Background Execution): Better describe the setPedro Alves2-27/+25
target-async command. (Maintenance Commands): Delete description of the `maint set/show linux-async' and `maint set/show remote-async' commands.
2009-03-05gdb/Pedro Alves5-3/+95
2009-03-05 Pedro Alves <pedro@codesourcery.com> * breakpoint.c (check_duplicates_for): Skip permanent breakpoints duplicates of permanent breakpoints. gdb/testsuite/ 2009-03-05 Pedro Alves <pedro@codesourcery.com> * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2009-03-05*** empty log message ***gdbadmin1-1/+1
2009-03-04Wrap long line.Pedro Alves1-1/+2
2009-03-04 * inferior.h (notice_new_inferior): Declare.Pedro Alves4-33/+152
* infcmd.c (notice_new_inferior): New. * remote.c (remote_add_inferior, remote_add_thread): New. (notice_new_inferiors): Rename to... (remote_notice_new_inferior): ... this. Add RUNNING argument. Use remote_add_thread instead of add_thread, passing it the RUNNING argument. Add an inferior with remote_add_inferior. If we just learned about an inferior, call notice_new_inferior. (record_currthread): Adjust. (remote_threads_info): Adjust to use remote_notice_new_inferior. (remote_start_remote, extended_remote_attach_1): Use remote_add_inferior. (process_stop_reply): Adjust. Call remote_notice_new_inferior after handling expedited registers and watchpoint state. (extended_remote_create_inferior_1): Use remote_add_inferior.
2009-03-04* infcmd.c (registers_info): Remove register number case.Aleksandar Ristovski2-15/+4
2009-03-04*** empty log message ***gdbadmin1-1/+1
2009-03-03 * top.c (quit_target): Check for target_has_execution beforePedro Alves2-1/+7
killing or detaching from inferiors.
2009-03-03 Remove some unused routines.Joel Brobecker4-89/+11
* ada-lang.c (is_suppressed_name, ada_suppress_symbol_printing): Delete. * ada-lang.c (ada_task_list_iterator_ftype) (iterate_over_live_ada_tasks): Delete. * ada-tasks.c (ada_get_environment_task, iterate_over_live_ada_tasks): Delete.
2009-03-03*** empty log message ***gdbadmin1-1/+1
2009-03-02Clean up last entry.Doug Evans1-1/+1
2009-03-02 * symtab.c: Remove trailing whitespace throughout the file.Doug Evans2-74/+74
(expand_line_sal): Fix some typos and whitespace.
2009-03-02 * Makefile.in (clean): rm -f $(DEPDIR)/*.Doug Evans2-0/+3
2009-03-02 * Makefile.in (GDB_CFLAGS): Add -I$(srcdir)/common.Doug Evans8-49/+96
(init.c): signals/ -> common/. (signals.o): Update. * target.h (target_signal_to_string,target_signal_to_string) (target_signal_from_name,target_signal_to_host_p) (target_signal_from_host,target_signal_to_host): Move to ... * common/gdb_signals.h: ... here. New file. * common/signals.c: Moved here from signals/signals.c. #include gdb_signals.h, remove #include of target.h in gdb case. (target_signal_from_command,default_target_signal_to_host) (default_target_signal_from_host): Move inside #ifndef GDBSERVER. * gdbserver/Makefile.in (INCLUDE_CFLAGS): Add -I$(srcdir)/../common. (server_h): Add gdb_signals.h. (signals.o): Update. * server.h (target_signal_from_host,target_signal_to_host_p) (target_signal_to_host,target_signal_to_name): Moved to gdb_signals.h.
2009-03-02*** empty log message ***gdbadmin1-1/+1
2009-03-01 Include thread ID in target_wait debugging output.Doug Evans2-16/+48
* infrun.c (print_target_wait_results): New function. (wait_for_inferior,fetch_inferior_event): Call it.
2009-03-01*** empty log message ***gdbadmin1-1/+1
2009-02-28*** empty log message ***gdbadmin1-1/+1
2009-02-27 * gdb_proc_service.h (struct ps_prochandle): Replace pid_t fieldPedro Alves4-18/+31
with a ptid_t field. * linux-thread-db.c (thread_get_info_callback): Build the ptid using the pid stored in proc_handle.ptid. (thread_from_lwp, thread_db_attach_lwp, enable_thread_event) (check_for_thread_db, thread_db_detach, check_event) (thread_db_mourn_inferior, find_new_threads_callback) (thread_db_find_new_threads_1): Adjust. * proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs) (ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.
2009-02-272009-02-27 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-10/+10
* valprint.c (read_string): Rework clean-up logic. Use free_current_contents to clean-up buffer.
2009-02-27Update e-mail address.Andreas Schwab2-24/+28
2009-02-27*** empty log message ***gdbadmin1-1/+1
2009-02-262009-02-26 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-4/+22
* python/python-utils.c (python_string_to_unicode): Always return a new reference. (python_string_to_target_string): Decrement transient python instance. (python_string_to_host_string): Likewise.
2009-02-26 * mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' toPedro Alves2-3/+9
call to super_fetch_registers. (mips64_linux_store_registers): Pass `ops' to call to super_store_registers.
2009-02-26 * breakpoint.c (insert_bp_location): Add \n to overlay breakpointDoug Evans2-2/+5
error message.
2009-02-26*** empty log message ***gdbadmin1-1/+1
2009-02-25 * breakpoint.c (disable_breakpoints_in_shlibs): Delete localDoug Evans2-1/+3
disabled_shlib_breaks, unused.
2009-02-25 * printcmd.c (build_address_symbolic): Fix comment.Doug Evans2-1/+5
2009-02-252009-02-25 Hui Zhu <teawater@gmail.com>Hui Zhu22-33/+60
* cli/cli-script.c (define_command): Add _() to query. * gnu-nat.c (inf_validate_task_sc): Ditto. * infcmd.c (kill_if_already_running): Ditto. (jump_command): Ditto. (attach_command): Ditto. * inflow.c (kill_command): Ditto. * infrun.c (handle_command): Ditto. * maint.c (maintenance_dump_me): Ditto. * memattr.c (mem_delete_command): Ditto. * monitor.c (monitor_interrupt_query): Ditto. * nto-procfs.c (interrupt_query): Ditto. * printcmd.c (undisplay_command): Ditto. * remote-mips.c (mips_kill): Ditto. * remote.c (interrupt_query): Ditto. * solib-irix.c (irix_open_symbol_file_object): Ditto. * solib-osf.c (osf_open_symbol_file_object): Ditto. * solib-pa64.c (pa64_open_symbol_file_object): Ditto. * solib-som.c (som_open_symbol_file_object): Ditto. * solib-svr4.c (open_symbol_file_object): Ditto. * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto. * target.c (kill_or_be_killed): Ditto. * tracepoint.c (delete_trace_command): Ditto. * top.c (quit_confirm): Add _() to s that will be used in query.
2009-02-25*** empty log message ***gdbadmin1-1/+1
2009-02-24 Fix windows-nat.c compilation failure.Pierre Muller2-2/+10
* windows-nat.c (windows_thread_alive): Fix forward declaration. (get_windows_debug_event): Add ops parameter to call to windows_resume.
2009-02-24*** empty log message ***gdbadmin1-1/+1