aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-02Automatic date update in version.inGDB Administrator1-1/+1
2014-02-01Automatic date update in version.inGDB Administrator1-1/+1
2014-01-31Automatic date update in version.inGDB Administrator1-1/+1
2014-01-30Automatic date update in version.inGDB Administrator1-1/+1
2014-01-29Automatic date update in version.inGDB Administrator1-1/+1
2014-01-28Fix info-shared.exp testcase to expect the leading `.' found on ppc64's symbols.Edjunior Barbosa Machado2-10/+14
gdb/testsuite/ 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2014-01-28Fix typo in ppc64_standard_linkage7Ulrich Weigand2-1/+5
The ppc64_standard_linkage7 pattern added by Alan's recent patch: https://sourceware.org/ml/gdb-patches/2013-11/msg00274.html contains a typo: the ELFv2 TOC slot offset is 24, not 40. This was correct in the comment, but not the actual code. ChangeLog: * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2014-01-28Automatic date update in version.inGDB Administrator1-1/+1
2014-01-27Automatic date update in version.inGDB Administrator1-1/+1
2014-01-26Automatic date update in version.inGDB Administrator1-1/+1
2014-01-25Automatic date update in version.inGDB Administrator1-1/+1
2014-01-24Automatic date update in version.inGDB Administrator1-1/+1
2014-01-23avoid python exception in FrameDecorator.pyTom Tromey2-2/+17
This fixes a bug in FrameDecorator.py. FrameVars seems to assume that Frame.block can return None if there is no block. However, it actually throws an exception. I saw this bug while developing a frame filter, but unfortunately I don't know how to reproduce it. It seems to me that the SAL tests in _is_limited_frame should exclude the bad cases; and in my attempts to write a test they do. Nevertheless I think the fix is reasonably obvious and ought to go in. 2014-01-23 Tom Tromey <tromey@redhat.com> PR python/16485: * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): Handle exception from frame.block. (FrameVars.fetch_frame_locals): Likewise.
2014-01-23fix erroneous error-handling in frame filter codeTom Tromey5-3/+47
This fixes PR python/16487. The bug here is that the function-name-handling code in py_print_frame had a small logic error (really a misplaced closing brace). This error could lead to a Py_DECREF(NULL), which crashes. This patch fixes the bug in the obvious way. Built and regtested on x86-64 Fedora 18. New test case included. 2014-01-23 Tom Tromey <tromey@redhat.com> PR python/16487: * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF on a NULL pointer. Move "goto error" to correct place. 2014-01-23 Tom Tromey <tromey@redhat.com> PR python/16487: * gdb.python/py-framefilter.exp: Add test using "Error" filter. * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New classes.
2014-01-23fix crash in frame filtersTom Tromey5-7/+23
apply_frame_filter calls ensure_python_env before computing the gdbarch to use. This means that python_gdbarch can be NULL while in Python code, and if a frame filter depends on this somehow (easy to do), gdb will crash. The fix is to compute the gdbarch first. Built and regtested on x86-64 Fedora 18. New test case included. 2014-01-23 Tom Tromey <tromey@redhat.com> PR python/16491: * python/py-framefilter.c (apply_frame_filter): Call ensure_python_env after computing gdbarch. 2014-01-23 Tom Tromey <tromey@redhat.com> PR python/16491: * gdb.python/py-framefilter.py (Reverse_Function.function): Read a string from an inferior frame. * gdb.python/py-framefilter-mi.exp: Update.
2014-01-23Automatic date update in version.inGDB Administrator1-1/+1
2014-01-22gdb: xtensa: fix on 64-bit hostsBaruch Siach2-1/+5
On 64-bit hosts unsigned long is 64 bit. Use uint32_t instead. gdb/ 2014-01-22 Baruch Siach <baruch@tkos.co.il> * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2014-01-22xtensa-config.c: missing defs.h include.Pedro Alves2-0/+6
All .c files must start by including defs.h. 2014-01-22 Pedro Alves <palves@redhat.com> * xtensa-config.c: Include defs.h.
2014-01-22gdb: xtensa: fix linux ptrace includesBaruch Siach4-1/+11
Currently, xtensa code using the Linux ptrace interface only include sys/ptrace.h. This file comes from the C library (glibc and uClibc, at least), and includes a declaration of the ptrace() functions, along with some cross architecture constants that are mostly copied from the file located at include/uapi/linux/ptrace.h in recent Linux kernels. For xtensa specific constants like PTRACE_GETXTREGS and PTRACE_SETXTREGS the asm/ptrace.h include from the Linux kernel UAPI is needed. The code in gdbserver xtensa specific part doesn't call ptrace() directly, so we can remove the unneeded sys/ptrace.h include. The gdb xtensa specific code needs both headers, since it calls ptrace(). gdb/ * xtensa-linux-nat.c: Include asm/ptrace.h. gdb/gdbserver/ * linux-xtensa-low.c: Include asm/ptrace.h instead of sys/ptrace.h.
2014-01-22Automatic date update in version.inGDB Administrator1-1/+1
2014-01-21gdb: Support install-strip targetRoland McGrath5-16/+259
gdb/ * configure.ac: Call AM_PROG_INSTALL_STRIP. * configure: Regenerate. * aclocal.m4: Regenerate. * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): New substituted variables. (install-strip): New target. (INSTALL_SCRIPT): New substituted variable. (FLAGS_TO_PASS): Add it. (install-only): Use $(INSTALL_SCRIPT) rather than $(INSTALL_PROGRAM) for gcore. (cherry picked from commit 4869db5e97b2062a3adf81158577171990248ef3)
2014-01-21Automatic date update in version.inGDB Administrator1-1/+1
2014-01-20Automatic date update in version.inGDB Administrator1-1/+1
2014-01-19Automatic date update in version.inGDB Administrator1-1/+1
2014-01-18Automatic date update in version.inGDB Administrator1-1/+1
2014-01-17Automatic date update in version.inGDB Administrator1-1/+1
2014-01-16dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.Doug Evans2-1/+5
2014-01-16Fix go32-nat.c build fallout from to_detach constification.Pedro Alves2-25/+11
The recent constification of to_detach missed updating the forward declaration of go32_detach, breaking the build: ../../src/gdb/go32-nat.c:387:1: error: conflicting types for 'go32_detach' ../../src/gdb/go32-nat.c:240:13: note: previous declaration of 'go32_detach' was here go32_detach is actually defined before it's ever used, making the forward declaration is unnecessary. So we can just remove it instead of updating it. While at it, remove all others in the same situation. Tested by building a djgpp gdb. gdb/ 2014-01-16 Pedro Alves <palves@redhat.com> * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) (go32_resume, go32_fetch_registers, store_register) (go32_store_registers, go32_prepare_to_store) (go32_xfer_memory, go32_files_info, go32_kill_inferior) (go32_create_inferior, go32_can_run, go32_terminal_init) (go32_terminal_inferior, go32_terminal_ours): Delete forward declarations.
2014-01-16Automatic date update in version.inGDB Administrator1-1/+1
2014-01-15* dwarf2read.c (open_and_init_dwp_file): Use pulongest to print uint32_t.Doug Evans2-4/+11
2014-01-15Fix small style violation in py-value.c:get_field_typeJoel Brobecker2-5/+8
gdb/ChangeLog: * python/py-value.c (get_field_type): Remove unnecessary curly braces for single-statement if block. Tested on x86_64-linux.
2014-01-15Add missing empty line after declarations in "if" block (py-type.c).Joel Brobecker2-0/+6
This patch fixes a small coding-style violation... gdb/ChangeLog: * python/py-type.c (convert_field): Add missing empty line after declarations.
2014-01-15Use bitpos and type to lookup a gdb.Field object when its name is 'None'.Siva Chandra10-18/+208
PR python/15464 PR python/16113 * valops.c (value_struct_elt_bitpos): New function * py-type.c (convert_field): Set 'name' attribute of a gdb.Field object to 'None' if the field name is an empty string (""). * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' attribute to look for a field when 'name' is 'None'. (get_field_type): New function testsuite/ * gdb.python/py-type.c: Enhance test case. * gdb.python/py-value-cc.cc: Likewise * gdb.python/py-type.exp: Add new tests. * gdb.python/py-value-cc.exp: Likewise
2014-01-15Automatic date update in version.inGDB Administrator1-1/+1
2014-01-14PR symtab/16426Doug Evans4-1/+62
* dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. (try_open_dwop_file): Ditto. * gdb_bfd.c: #include "vec.h". (bfdp): New typedef. (struct gdb_bfd_data): New member included_bfds. (gdb_bfd_unref): Unref all included bfds. (gdb_bfd_record_inclusion): New function. * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
2014-01-14Automatic date update in version.inGDB Administrator1-1/+1
2014-01-13Fix set auto-load safe-path false warning regression (PR 16216)Jan Kratochvil2-15/+32
gdb/ 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com> PR threads/16216 * linux-thread-db.c (try_thread_db_load): Add parameter check_auto_load_safe. Move here the file_is_auto_load_safe call. (try_thread_db_load_from_pdir_1): Move it there from here. (try_thread_db_load_from_sdir): Update caller. (try_thread_db_load_from_dir): Move it there from here.
2014-01-13Fix the ChangeLog's EOL format screwed up by cherry-pick.Eli Zaretskii1-8846/+8846
2014-01-13Fix MinGW compilation errors in gdbserver/.Eli Zaretskii2-8841/+8847
gdb/gdbserver/Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from "-I$(srcdir)/../". Fixes MinGW compilation errors with old GCC versions.
2014-01-13Automatic date update in version.inGDB Administrator1-1/+1
2014-01-12Automatic date update in version.inGDB Administrator1-1/+1
2014-01-11Automatic date update in version.inGDB Administrator1-1/+1
2014-01-10Automatic date update in version.inGDB Administrator1-1/+1
2014-01-09Fix buffer underrun in i386-dis.c.Roland McGrath2-1/+7
opcodes/ * i386-dis.c (print_insn): Do not touch all_prefixes[-1] when last_rex_prefix is -1. (cherry picked from commit e2e6193d65a20e6b7fccba288e5d1bc45b78d194)
2014-01-09Automatic date update in version.inGDB Administrator1-1/+1
2014-01-08Bump GDB version number to 7.6.90.DATE-cvs.Joel Brobecker2-1/+5
gdb/ChangeLog: * version.in: Set GDB version number to 7.6.90.DATE-cvs.
2014-01-08Document the GDB 7.6.90 release in gdb/ChangeLogJoel Brobecker1-0/+4
gdb/ChangeLog: GDB 7.6.90 released.
2014-01-08Set GDB version number to 7.6.90.Joel Brobecker2-1/+5
gdb/ChangeLog: * version.in: Set GDB version number to 7.6.90.
2014-01-08Set development mode to "off" by default.Joel Brobecker2-1/+5
gdb/ChangeLog: * development.sh (development): Set to false.
2014-01-08Bump version to 7.6.90.DATE-cvs.Joel Brobecker2-1/+6
Now that the GDB 7.7 branch has been created, we can bump the version number. gdb/ChangeLog: GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): * version.in: Bump version to 7.6.90.DATE-cvs.