Package: gdb / 15.2-1

Metadata

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

Patch series

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

gdb/symtab.c | 9 8 1 - 0 !
gdb/testsuite/gdb.fortran/lang.exp | 40 40 0 - 0 !
2 files changed, 48 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

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.

fix blhc libiberty.patch | (download)

libiberty/Makefile.in | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 [patch] libiberty: pass ldflags

Avoid blhc false positive:

LDFLAGS missing (-Wl,-z,relro):  \ 	mv -f /builds/gdb-team/gdb/debian/output/source_dir/debian/tmp/usr/lib/`x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/builds/gdb-team/gdb/debian/output/source_dir=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection     -print-multi-os-directory`/./libiberty.an /builds/gdb-team/gdb/debian/output/source_dir/debian/tmp/usr/lib/`x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/builds/gdb-team/gdb/debian/output/source_dir=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection     -print-multi-os-directory`/./libiberty.a

Signed-off-by: Ricardo Ribalda <[email protected]>

fix blhc chew.patch | (download)

bfd/Makefile.in | 4 2 2 - 0 !
bfd/doc/local.mk | 4 2 2 - 0 !
2 files changed, 4 insertions( ), 4 deletions(-)

---
gfdl dont build manpages.patch | (download)

gdb/doc/Makefile.in | 6 4 2 - 0 !
1 file changed, 4 insertions( ), 2 deletions(-)

---