aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-11-06 Prevent program output from mix with "^running".Vladimir Prus2-3/+11
gdb/ * mi/mi-interp.c (mi_on_resume): Output token and "^running" together, so that nothing else gets in between.
2009-11-06*** empty log message ***gdbadmin1-1/+1
2009-11-05 * dwarf2read.c (struct dwarf2_cu): Remove ranges_offset andDaniel Jacobowitz4-162/+147
has_ranges_offset. (struct partial_die_info): Remove language, has_stmt_list, dirname, and line_offset. (dwarf2_build_include_psymtabs): Take a die_info. Handle a missing line table. (dwarf2_get_pc_bounds): Take PST argument. Pass it to dwarf2_ranges_read. Update all callers. (init_cu_die_reader): Move earlier. (dwarf2_find_base_address): New function. (process_psymtab_comp_unit): Rewrite to use a full DIE for the compilation unit. Use dwarf2_get_pc_bounds and dwarf2_find_base_address. (load_comp_unit): Rewrite to use a full DIE for the compilation unit. (process_full_comp_unit): Use dwarf2_find_base_address. (read_partial_die): Remove support for attributes only used in the compilation unit DIE. * symfile.c (allocate_psymtab): Make FILENAME const. (start_psymtab_common): Likewise. * symfile.h (allocate_psymtab, start_psymtab_common): Update prototypes.
2009-11-05 * symmisc.c (print_symbol_bcache_statistics): Print filename cacheTom Tromey6-4/+28
statistics. (print_objfile_statistics): Likewise. * symfile.c (reread_symbols): Initialize filename_cache. (allocate_symtab): Cache the file name. (allocate_psymtab): Likewise. * solib-sunos.c (allocate_rt_common_objfile): Initialize filename_cache. * objfiles.h (struct objfile) <filename_cache>: New field. * objfiles.c (allocate_objfile): Initialize filename_cache. (free_objfile): Free filename_cache.
2009-11-05 * symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again.Tom Tromey2-3/+14
Zero the 'value' field.
2009-11-05 * amd64-tdep.c (amd64_init_frame_cache): Enhance comment describingDoug Evans2-1/+9
saved_regs.
2009-11-05 * top.c (execute_command): Select a frame before checking the currentDaniel Jacobowitz2-2/+10
language. Only output a message if verbose.
2009-11-05 * config/m68k-emc.exp, lib/emc-support.exp,Daniel Jacobowitz20-4394/+153
gdb.trace/gdb_c_test.c: Delete. * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp, gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp, gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special casing for m68k-*-elf.
2009-11-05 * symtab.h (SYMBOL_SET_LINKAGE_NAME): Update comment.Tom Tromey6-17/+24
* symfile.c (allocate_symtab): Don't use obsavestring on a constant string. * stabsread.c (define_symbol): Don't use obsavestring on a constant string. * mdebugread.c (parse_type): Don't use obsavestring on a constant string. (new_symtab): Likewise. * elfread.c (elf_symtab_read): Don't use obsavestring on a constant string.
2009-11-05*** empty log message ***gdbadmin1-1/+1
2009-11-04 * symfile.c (add_psymbol_to_bcache): Don't copy name. MakeTom Tromey2-14/+9
'psymbol' non-static.
2009-11-04*** empty log message ***gdbadmin1-1/+1
2009-11-032009-11-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-12/+14
* linux-thread-db.c (disable_thread_event_reporting): Adjust.
2009-11-03 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.Nathan Sidwell4-3/+9
* gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise.
2009-11-03 * MAINTAINERS (Responsible Maintainers): Add Tristan Gingold asJoel Brobecker2-0/+6
maintainer of the avr target.
2009-11-03 * configure.ac (i[34567]86-*): Check if we're targetting x86-64Nathan Sidwell4-0/+64
with an i686 compiler. * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if needed. * configure: Rebuilt.
2009-11-03*** empty log message ***gdbadmin1-1/+1
2009-11-02 * lib/gdb.exp (gdb_expect): Fix timeout typo.Daniel Jacobowitz2-1/+5
2009-11-02 * elfread.c (elf_symfile_segments): Do not warn aboutDaniel Jacobowitz2-1/+16
uninitialized sections outside of load segments.
2009-11-02 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.Daniel Jacobowitz2-24/+5
2009-11-02 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.Daniel Jacobowitz2-4/+8
2009-11-02gdb/Jan Kratochvil6-50/+123
* symfile.c (build_id_to_debug_filename): New variable debugdir. Move variables size, s and data into a new inner block. Change xmalloc for alloca, use direct BUILDID->SIZE there now. Loop for the DEBUG_FILE_DIRECTORY components. (find_separate_debug_file): New variable debugdir and debugdir_end. Loop for the DEBUG_FILE_DIRECTORY components. (_initialize_symfile): For "debug-file-directory" use plural and note one can use multiple components now. gdb/doc/ * gdb.texinfo (set debug-file-directory, show debug-file-directory) (Auto-loading): Use plural and note one can use multiple components now. gdb/testsuite/ * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2009-11-02gdb/Jan Kratochvil2-39/+26
* symfile.c (find_separate_debug_file): Initialize dir, debugfile and canon_name to NULL. Change alloca to xmalloc, newly call xfree for it. New label cleanup_return_debugfile, jump to it from the failure paths.
2009-11-02gdb/Jan Kratochvil5-6/+67
* symfile.c (separate_debug_file_exists): When the CRCs mismatch print a warning. (find_separate_debug_file): Pass in the objfile's name. gdb/testsuite/ * gdb.base/sepdebug.exp (CRC mismatch is reported): New test. * gdb.base/sepdebug2.c: New file.
2009-11-02gdb/Jan Kratochvil6-37/+93
Remove INVALID_ENTRY_POINT. * frame.c (inside_entry_func): New variable entry_point. Return 0 if the entry point is not known. * solib-irix.c (enable_break): Likewise. * objfiles.c (init_entry_point_info): Stop using INVALID_ENTRY_POINT. Initialize EI.ENTRY_POINT_P. (entry_point_address): Rename to ... (entry_point_address_query): ... a new function. Use EI.ENTRY_POINT_P. (entry_point_address): New function. (objfile_relocate): Use EI.ENTRY_POINT_P. * objfiles.h (struct entry_info): Simplify entry_point comment. New field entry_point_p. (INVALID_ENTRY_POINT): Remove. (entry_point_address_query): New prototype. * solib-frv.c (enable_break): Check for NULL SYMFILE_OBJFILE and its EI.ENTRY_POINT_P. Return 0 if ".interp" is not found.
2009-11-02*** empty log message ***gdbadmin1-1/+1
2009-11-012009-11-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+12
* NEWS (New Commands): Mention record save/restore.
2009-11-01 * gdb.texinfo (GDB/MI Stack Manipulation): MakeVladimir Prus2-6/+14
-stack-list-arguments have the same documentation for parameter as -stack-list-locals. Add comas.
2009-11-01*** empty log message ***gdbadmin1-1/+1
2009-10-312009-10-31 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* breakpoint.c (bpstat_stop_status): Fix broken comment.
2009-10-31 * record.c (record_restore, cmd_record_save): Debug output goes toPedro Alves2-43/+49
gdb_stdlog.
2009-10-31Fixing the date format for the last ChangeLog entry.Sergio Durigan Junior2-2/+2
2009-10-31gdb/ChangeLog:Sergio Durigan Junior5-63/+68
2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> * breakpoint.c (catch_syscall_split_args): Remove unecessary warning displayed when the user provided a syscall name and there is no XML support. * xml-syscall.c: Renamed `_sysinfo' to `sysinfo'. (set_xml_syscall_file_name): Remove syscall_warn_user. (xml_init_syscalls_info): Remove warning. (init_sysinfo): Update warnings. gdb/testsuite/ChangeLog: 2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept the modified warnings for catch syscall. Verify if GDB was compiled with support for lib expat, and choose which tests to run depending on this.
2009-10-31*** empty log message ***gdbadmin1-1/+1
2009-10-30 Fix breakpoint commands in MI.Vladimir Prus5-1/+32
* mi/mi-main.c (mi_execute_command): Run bpstat_do_actions. * mi/mi-cmd-break.c (mi_cmd_break_commands): Pass 1 to read_command_line_1 to actually parse composite commands.
2009-10-30*** empty log message ***gdbadmin1-1/+1
2009-10-292009-10-29 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore4-2/+16
PR gdb/10783 gdb/ * target.c (simple_search_memory): Correct read_addr initialization in loop for searching subsequent chunks. gdb/gdbserver/ * server.c (handle_search_memory_1): Correct read_addr initialization in loop for searching subsequent chunks.
2009-10-292009-10-29 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-0/+90
* configure.ac: New --with-libthread-db option. * thread-db.c: Allow direct dependence on libthread_db. (thread_db_free): Adjust. * config.in: Regenerate. * configure: Likewise.
2009-10-29*** empty log message ***gdbadmin1-1/+1
2009-10-28 Reported by Antti Hatala <ahatala@nvidia.com>.Daniel Jacobowitz2-1/+8
* arm-tdep.c (thumb_get_next_pc): Limit check to IT instructions correctly.
2009-10-28 * dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-sectionPedro Alves2-15/+54
leftover FDEs.
2009-10-28Revert previous patch. Applied an old version by mistake.Pedro Alves2-36/+13
2009-10-28 * dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-sectionPedro Alves2-13/+36
leftover FDEs.
2009-10-282009-10-28 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-14/+71
PR gdb/10757 * thread-db.c (attach_thread): New function. (maybe_attach_thread): Return success/failure. (find_new_threads_callback): Adjust. (thread_db_find_new_threads): Loop until no new threads.
2009-10-28 * infrun.c (keep_going): Wrap with resume_cleanups.Pedro Alves2-0/+11
2009-10-28 gdb/:Joel Brobecker3-14/+169
* remote.c (interrupt_sequence_control_c) (interrupt_sequence_break, interrupt_sequence_break_g) (interrupt_sequence_modes): New constants. (interrupt_sequence_mode, interrupt_on_connect): New variable. (show_interrupt_sequence): New function. (set_remotebreak, show_remotebreak): New function. (send_interrupt_sequence): New function. (remote_start_remote): Call send_interrupt_sequence if interrupt_on_connect is true. (remote_stop_as): Call send_interrupt_sequence. (_initialize_remote): Add interrupt-sequence and interrupt-on-connect, modify remotebreak to call set_remotebreak and show_remotebreak. * NEWS: Add entry for "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect". Also mention that "set/show remotebreak" is now deprecated. gdb/doc/: * gdb.texinfo (Remote Configuration): Add "set/show remote interrupt-sequence" and "set/show remote interrupt-on-connect" command.
2009-10-28*** empty log message ***gdbadmin1-1/+1
2009-10-272009-10-27 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+5
* MAINTAINERS: Add self to "modify-after-approval" maintainers.
2009-10-272009-10-27 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-18/+117
PR gdb/10757 * linux-thread-db.c (attach_thread): Return success/failure indicator. (thread_db_find_new_threads_silently): Retry until no new threads. (struct callback_data): New. (find_new_threads_callback): Count new threads, stop iteration on error. (find_new_threads_once): New function. (thread_db_find_new_threads_2): Rename from thread_db_find_new_threads_1 and adjust. (thread_db_find_new_threads_1): New function.
2009-10-272009-10-27 Tom Tromey <tromey@redhat.com>Phil Muldoon2-0/+14
Eli Zaretskii <eliz@gnu.org> PR python/10781 * gdb.texinfo (Values From Inferior): Document cast method.