Package: gdb / 10.1-1

Metadata

Package Version Patches format
gdb 10.1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
gdb fortran main.patch | (download)

gdb/symtab.c | 8 7 + 1 - 0 !
gdb/testsuite/gdb.fortran/lang.exp | 40 40 + 0 - 0 !
2 files changed, 47 insertions(+), 1 deletion(-)

 gdb-fortran-main

Daniel,

Although the proper way of adding case insensitivity to symbol lookup is 
still under discussion, I think it might be desirable to set the main 
function of Fortran programs to "MAIN__" first.  Because it can at least 
let GDB recognize that the language is Fortran after loading a Fortran 
executable only.  What is your idea on this?  Please comments.  TIA!

Here is the patch to set the main function in Fortran programs to 
"MAIN__".  And followed is a patch to verify this.  Tested with g77 and 
gfortran on x86, and g77 on ppc64.  With the first patch, it reported 
PASS; without, report FAIL.  No regression is found in gdb.fortran 
testcases.  

P.S: if there is a symbol named "MAIN__" in sources of other languages, it 
might disturb the debugging.  But I am not sure how much it is.

solve_PATH_MAX_issue.patch | (download)

gdb/nto-tdep.c | 12 9 + 3 - 0 !
1 file changed, 9 insertions(+), 3 deletions(-)

 patch out a path_max usage, for hurd's benefit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

gdb 6.5 bz185337 resolve tls without debuginfo v2.patch | (download)

gdb/printcmd.c | 4 4 + 0 - 0 !
gdb/testsuite/gdb.dwarf2/dw2-errno.c | 28 28 + 0 - 0 !
gdb/testsuite/gdb.dwarf2/dw2-errno.exp | 60 60 + 0 - 0 !
gdb/testsuite/gdb.dwarf2/dw2-errno2.c | 28 28 + 0 - 0 !
gdb/testsuite/gdb.dwarf2/dw2-errno2.exp | 71 71 + 0 - 0 !
5 files changed, 191 insertions(+)

 gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2

Bug-Debian: http://bugs.debian.org/581707
Bug-Redhat: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185337
gdb glibc vdso workaround.patch | (download)

gdb/solib.c | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 [rfc] work around pr libc/13097 "linux-vdso.so.1" #2

Hi,

missed the x86_64-m32 case:

gdb/
2011-08-16  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Work around PR libc/13097.
	* solib.c (update_solib_list): Ignore "linux-vdso.so.1".

load versioned libcc1.patch | (download)

include/gcc-c-interface.h | 2 1 + 1 - 0 !
include/gcc-cp-interface.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 load-versioned-libcc1

* d/p/load-versioned-libcc1.patch:
  - load libcc1.so.0 instead unversioned file.

gdb_configure.nat.patch | (download)

gdb/configure.nat | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 gdb_configure.nat

===================================================================

struct thread_info.patch | (download)

gdb/breakpoint.c | 2 1 + 1 - 0 !
gdb/infcmd.c | 2 1 + 1 - 0 !
gdb/linux-tdep.c | 2 1 + 1 - 0 !
gdb/mi/mi-main.c | 2 1 + 1 - 0 !
gdb/progspace-and-thread.c | 2 1 + 1 - 0 !
gdb/python/py-record-btrace.c | 8 4 + 4 - 0 !
gdb/remote.c | 6 3 + 3 - 0 !
gdb/thread.c | 24 12 + 12 - 0 !
8 files changed, 24 insertions(+), 24 deletions(-)

 struct-thread_info

===================================================================

gdb_bsd kvm.c.diff | (download)

gdb/bsd-kvm.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---