aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-12-04*** empty log message ***gdbadmin1-1/+1
2008-12-03*** empty log message ***gdbadmin1-1/+1
2008-12-02 * infrun.c (handle_inferior_event): Remove redundant resetting ofDoug Evans2-2/+5
stepping_past_singlestep_breakpoint.
2008-12-02 * target.h (target_get_osdata): Describe.Pedro Alves5-54/+83
* osdata.h (make_cleanup_osdata_free): Declare. * osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is not defined. (osdata_free_cleanup): New. (make_cleanup_osdata_free): New. (get_osdata): Fix leak. (info_osdata_command): Use make_cleanup_osdata_free. (info_processes_command): Delete. (_initialize_osdata): Drop undocumented "info processes" alias. * mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.
2008-12-02gdb/Jan Kratochvil7-10/+98
Fix resolving external references to TLS variables. * findvar.c: Include `objfiles.h'. (read_var_value <LOC_UNRESOLVED>): New variable `obj_section'. Handle SEC_THREAD_LOCAL variables. * printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL variables. gdb/testsuite/ Test resolving external references to TLS variables. * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and FILE2_THREAD_LOCAL. (testfile2, srcfile2): New variables. * gdb.threads/tls.c (file2_thread_local) (function_referencing_file2_thread_local): New. * gdb.threads/tls2.c: New file.
2008-12-02 * infrun.c (handle_inferior_event): Delete unused local tp.Doug Evans2-2/+4
2008-12-02 MI non-stop and multiprocess docs.Vladimir Prus2-18/+375
* gdb.texinfo (GDB/MI): New section 'GDB/MI General Design' (GDB/MI Output Records): New section 'GDB/MI Frame Information' Adjust documentation for *stopped, document =thread-created, =thread-exited, =thread-group-created and =thread-group-exited. (GDB/MI Thread Commands): Document the 'state' field in -thread-info output. (GDB/MI Program Execution): Mention --all and --thread-group options. (GDB/MI Variable Objects): Describe floating and fixed variable objects. (GDB/MI Miscellaneous Commands): Document -list-thread-groups.
2008-12-02 Implement -list-thread-groups --availableVladimir Prus22-7/+1093
* Makefile.in (XMLFILES): Add osdata.dtd. (SFILES): Add osdata.c. (COMMON_OBS): Add osdata.o. * linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h. (linux_nat_xfer_osdata): New function. (linux_xfer_partial): Handle TARGET_OBJECT_OSDATA. * osdata.c: New file. * osdata.h: New file. * remote.c (PACKET_qXfer_osdata): New packet enum. (remote_protocol_features): Add "qXfer:osdata:read". (remote_read_qxfer): Handle TARGET_OBJECT_OSDATA. (extended_remote_can_run): New. (init_extended_remote_ops): Set to_can_run to extended_remote_can_run. (_initialize_remote): Add packet config command for "qXfer:osdata:read". * xml-support.c (obstack_xml_printf): New function. * xml-support.h (obstack_xml_printf): Declare. * target.c (target_get_osdata): New function. * target.h (enum target_object): Add TARGET_OBJECT_OSDATA. (target_os_data): Declare. * features/osdata.dtd: New file. * mi/mi-main.c (mi_list_thread_groups): Handle the --available option.
2008-12-02* infrun.c (proceed): Delete unused local stop_signal.Doug Evans2-1/+4
2008-12-02*** empty log message ***gdbadmin1-1/+1
2008-12-01*** empty log message ***gdbadmin1-1/+1
2008-11-30*** empty log message ***gdbadmin1-1/+1
2008-11-29*** empty log message ***gdbadmin1-1/+1
2008-11-28 * gdb.ada/int_deref.exp: Convert the addresses into long_integerJoel Brobecker2-2/+8
rather than integer, as integer might not be big enough when on 64bit targets.
2008-11-282008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.Jan Kratochvil1-1/+0
2008-11-28*** empty log message ***gdbadmin1-1/+1
2008-11-27 * gdb.cp/formatted-ref.exp: Add equality test.Jerome Guitton3-0/+25
* gdb.ada/formatted_ref.exp: Ditto.
2008-11-27gdb:Tristan Gingold17-0/+3731
2008-11-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add entry for new native configuration: Darwin. * configure.host: Add Darwin host. * configure.tgt: Add Darwin target. * defs.h (enum gdb_osabi): Add GDB_OSABI_DARWIN. * osabi.c (gdb_osabi_names): Add name for Darwin abi. * i386-darwin-nat.c: New file. * i386-darwin-tdep.c: New file. * machoread.c: New file. * darwin-nat-info.c: New file. * darwin-nat.c: New file. * darwin-nat.h: New file. * darwin.defs: New file. * config/i386/darwin.mh: New file. gdb/doc: 2008-11-27 Tristan Gingold <gingold@adacore.com> * gdb.texinfo (Darwin): Document Darwin specific features.
2008-11-27*** empty log message ***gdbadmin1-1/+1
2008-11-262008-11-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* MAINTAINERS: Add myself for write after approval privileges.
2008-11-26 * value.h (allocate_value_lazy): New function declaration.Jerome Guitton4-81/+115
(value_free): Remove macro, make it a function. * value.c (value): Move actual content outside of the memory space of the struct; add a pointer to this actual content. (allocate_value_lazy, allocate_value_contents): New function. (allocate_value): Reimplement using these two new functions. (value_contents_raw, value_contents_all_raw): If no memory has been allocated yet for the actual content, allocate it. (value_contents_all): Resync with struct value's changes. (value_free): New function. (value_copy, value_primitive_field): Use new function allocate_value_lazy to allocate lazy values. (value_change_enclosing_type): Resync with struct value's changes. As the value is not reallocated, remove the special handling for the value chain (now obsolete). * valops.c (value_at_lazy): Use new function allocate_value_lazy. (value_fetch_lazy): Allocate value content. Use allocate_value_lazy to allocate lazy values. (value_slice): Use allocate_value_lazy to allocate lazy values.
2008-11-262008-11-25 ia64-tdep.c change: Reflect current `disable' in the ChangeLog entry.Jan Kratochvil1-1/+1
2008-11-26 Fix automatic restoration of breakpoints memory for ia64.Jan Kratochvil3-40/+196
* ia64-tdep.c: New #if check on BREAKPOINT_MAX vs. BUNDLE_LEN. (ia64_memory_insert_breakpoint): New comment part for SHADOW_CONTENTS content. Remove variable instr. New variable cleanup. Force automatic breakpoints restoration. PLACED_SIZE and SHADOW_LEN are now set larger, to BUNDLE_LEN - 2. Variable `bundle' type update. Return error if even just final target_write_memory has failed. (ia64_memory_remove_breakpoint): Rename variables bundle to bundle_mem and instr to instr_saved. New variables bundle_saved and instr_breakpoint. Comment new reasons why we need to disable automatic restoration of breakpoints. Assert PLACED_SIZE and SHADOW_LEN. New check of the original memory content. Return error if even just final target_write_memory has failed. (ia64_breakpoint_from_pc): Implement the emulation of permanent breakpoints compatible with current bp_loc_is_permanent. (template_encoding_table): Make it `const'. * breakpoint.c (bp_loc_is_permanent): Support unsupported software breakpoints. New variables `cleanup' and `retval'. * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
2008-11-26 * gdbint.texinfo (Target Conditionals): Extend theJan Kratochvil2-2/+14
gdbarch_breakpoint_from_pc description.
2008-11-26 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.Jan Kratochvil4-1/+98
* gdb.base/start.exp: New comment about an alternative - `runto_main'.
2008-11-26*** empty log message ***gdbadmin1-1/+1
2008-11-25*** empty log message ***gdbadmin1-1/+1
2008-11-24 * ada-lang.c (value_from_contents_and_address): Move...Tom Tromey5-24/+32
* value.c: ... here. * ada-lang.h (value_from_contents_and_address): Move declaration... * value.h: ... here.
2008-11-24 * Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused.Doug Evans2-7/+4
2008-11-242008-11-24 Paul Pluzhnikov <ppluzhnikov@google.com>Tom Tromey2-4/+9
* valprint.c (val_print_array_elements): Pass correct element address to val_print.
2008-11-24 * server.c (handle_v_run): Always use the supplied argument list.Daniel Jacobowitz2-16/+15
2008-11-24 Fix access of an already freed memory.Jan Kratochvil3-1/+13
* parse.c (parse_field_expression): Call xstrdup on `*name'. * completer.c (expression_completer): Free fieldname.
2008-11-24 PR gdb/2474Daniel Jacobowitz2-6/+50
* remote.c (remote_read_description_p): New function. (remote_start_remote): Try to fetch the target description before adding shared libraries. Try again later if the target is running but stopped. (remote_open_1): Mark extended targets as exited by default. (remote_read_description): Check target_has_execution.
2008-11-24 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): UseJerome Guitton2-1/+7
the frame address in block instead of the return address to locate the mdebug PDR of the frame.
2008-11-24*** empty log message ***gdbadmin1-1/+1
2008-11-23*** empty log message ***gdbadmin1-1/+1
2008-11-22 * gdb.texinfo (M68K Features): Fix typo.Vladimir Prus2-1/+5
2008-11-22 Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.Joel Brobecker4-31/+30
* breakpoint.h (enum bpstat_what_main_action): Remove BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. * breakpoint.c (bpstat_what): Delete catch_shlib_event from enum class. Remove the BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK column from variable table. * infrun.c (wait_for_inferior): Remove handling of BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.
2008-11-22*** empty log message ***gdbadmin1-1/+1
2008-11-21 * configure: Rebuild.Tom Tromey3-5212/+55
* configure.ac: Merge calls to AC_CHECK_FUNCS, AC_CHECK_HEADERS, AC_CHECK_DECLS, and AC_CHECK_MEMBERS.
2008-11-21 * python/python-internal.h (PyGILState_Ensure): New define.Tom Tromey4-2/+67
(PyGILState_Release): Likewise. (PyEval_InitThreads): Likewise. (PyThreadState_Swap): Likewise. (PyEval_InitThreads): Likewise. * python/python.c (_initialize_python): Initialize threads. Release GIL. (eval_python_from_control_command): Acquire GIL. (python_command): Likewise. * python/python-internal.h (make_cleanup_py_restore_gil): Declare. * python/python-utils.c (py_gil_restore): New function. (make_cleanup_py_restore_gil): Likewise.
2008-11-21*** empty log message ***gdbadmin1-1/+1
2008-11-20 * frame.c (frame_debug_got_null_frame): Remove file arg.Doug Evans2-8/+11
All callers updated.
2008-11-20* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patternsAndreas Schwab3-334/+348
matching syscall entry point. * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_child_follow): Likewise. Finish through vfork even if we stopped at the syscall trampoline.
2008-11-20 * infrun.c (resume): If following a fork, also reset regcache,Pedro Alves2-0/+11
gdbarch and pc.
2008-11-20 * printcmd.c (sym_info): Don't print the offset if it's zero.Doug Evans4-18/+40
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2008-11-20 * infrun.c (resume): If following a fork, reread the currentPedro Alves2-2/+11
thread. Avoid dereferencing a possibly dangling pointer.
2008-11-20 * inferior.h (proceed_to_finish): Delete, unused.Doug Evans3-9/+10
(stop_registers): Tweak comment. * infrun.c (stop_registers): Tweak comment.
2008-11-20*** empty log message ***gdbadmin1-1/+1
2008-11-19 * frv-tdep.c (frv_skip_main_prologue): New function.Kevin Buettner3-3/+96
(frv_gdbarch_init): Register frv_skip_main_prologue. * solib-frv.c (fetch_loadmap): Return early when no segments are found. (frv_relocate_main_executable): Return early when both interpreter and executable loadmap addresses are zero.