Skip to contentSkip to conversation

new gdb deb for testing, patch for review

parisc-linux Randolph Chung 3 participants 4 messages Jan 1, 2002 – Jan 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

Happy New Year!

I've placed a new gdb deb on ftp.parisc-linux.org, in the unofficial-debs directory. This is built with an updated patch against the latest gdb version in Debian.

I don't know gdb nearly as much as I'd like though, so I'd appreciate it if someone more knowledge in this area can give the patch a once-over and make sure there are no glaring issues. The patch is based largely on what's in gdb cvs on cvs.p-l.org, with some minor updates to bring it inline with the 5.1 version in Debian.

The deb seems to work for me, but please give it a try and let me know if you find any issues....

ftp://ftp.parisc-linux.org/unofficial-debs/gdb_5.1-1.1_hppa.deb ftp://ftp.parisc-linux.org/patches/gdb-5.1.diff

The patch is also filed against the gdb package in the Debian BTS.

randolph

Signature · 2 lines
Debian Developer <[email protected]>
http://www.TauSq.org/
#1 lore raw
Quoted 2 lines

The deb seems to work for me, but please give it a try and let me know if you find any issues....

argument passing seems to be broken

357 t_double_values(double_val1, double_val2);
(gdb) print double_val1
$1 = 45.654000000000003
(gdb) step
t_double_values (double_arg1=-1.0015640258789065,

    double_arg2=8.5011959057330557)
    at ../../../gdb/testsuite/gdb.base/callfuncs.c:275

hmm...

randolph

Signature · 4 lines
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^
#2 lore raw
Quoted 5 lines
Quoted 2 lines

The deb seems to work for me, but please give it a try and let me know if you find any issues....

argument passing seems to be broken

Quoted 7 lines

357 t_double_values(double_val1, double_val2);
(gdb) print double_val1
$1 = 45.654000000000003
(gdb) step
t_double_values (double_arg1=-1.0015640258789065,

    double_arg2=8.5011959057330557)
    at ../../../gdb/testsuite/gdb.base/callfuncs.c:275

This annoying problem has been around for a long time. Argument printouts may not be valid at a function breakpoint due to code motion.

Dave

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)
#3 lore raw
Quoted 3 lines

This annoying problem has been around for a long time. Argument printouts may not be valid at a function breakpoint due to code motion.

hmm.. ok. there are a lot of failures in the gdb test cases though. perhaps someone can investigate these?

randolph

Signature · 4 lines
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^