aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-11-09 PR mi/9583:Joel Brobecker2-10/+33
* symtab.c (find_line_symtab, append_exact_match_to_sals) (expand_line_sal): Use full filename when setting breakpoints if available
2009-11-09 * dwarf2read.c (read_import_statement): Don't clobber original cu.Cary Coutant2-3/+9
2009-11-09 * python/python.c (execute_gdb_command): Copy the argument text.Tom Tromey2-1/+9
2009-11-09gdb/testsuite/Jan Kratochvil2-4/+16
* Makefile.in (abs_builddir): New. (site.exp): New target `$(abs_builddir)/site.exp'. New comment. (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to `$(abs_builddir)/site.exp'.
2009-11-09*** empty log message ***gdbadmin1-1/+1
2009-11-08*** empty log message ***gdbadmin1-1/+1
2009-11-07 * gdbint.texinfo, stabs.texinfo: Move the @setchapternewpageJoel Brobecker3-4/+9
and @settitle directives up to help makeinfo find them.
2009-11-07*** empty log message ***gdbadmin1-1/+1
2009-11-06 * m68k-tdep.c (m68k_convert_register_p): CorrectVladimir Prus2-1/+5
messup.
2009-11-06 * m68k-tdep.c (m68k_convert_register_p): Compare withVladimir Prus2-1/+8
the actual type of fp registers, not one of the possible values.
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.