gdb-avr is outdated

Bug #407367 reported by Dmitriy Geels on 2009-07-31
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gdb-avr (Ubuntu)
Nominated for Karmic by Dmitriy Geels

Bug Description

Binary package hint: gdb-avr

gdb-avr in ubuntu jaunty/karmic is outdated.

gdb package has version 6.8-3ubuntu2, while gdb-avr is still 6.4.90.dfsg-2.1 since intrepid.
please update gdb-avr package to latest gdb source.

Artur Rona (ari-tczew) wrote :

Could you give a link to source code?

tags: added: upgrade
Changed in gdb-avr (Ubuntu):
status: New → Incomplete
Dmitriy Geels (dmig) wrote :

Eh... do you mean gdb source?
As I understand, gdb-avr may be built even from gdb package source.

Dmitriy Geels (dmig) wrote :

avr-gdb may be manually updated from gdb source:
apt-get source gdb
cd gdb-6.8
./configure --prefix=/usr/local/avr --program-prefix="avr-" --target=avr --disable-werror
make install

 --disable-werror is requred, gdb doesn't build without this.

Alessio Igor Bogani (abogani) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in gdb-avr (Ubuntu):
status: Incomplete → Invalid
Dmitriy Geels (dmig) wrote :

Please tell me, what information you need?

Package gdb-avr is outdated!
It is still 6.4.90.dfsg-3ubuntu1 in Ubuntu Lucid, while gdb is already!

gdb-avr may be easily built from source of gdb package -- so, why not update it in repository?

Changed in gdb-avr (Ubuntu):
status: Invalid → New
Alessio Igor Bogani (abogani) wrote :

Because no one report that it works.

Could you provide a 1) build log and a 2) working debug session log, please?

Thanks a lot!

Changed in gdb-avr (Ubuntu):
status: New → Incomplete
Dmitriy Geels (dmig) wrote :

Here is complete build log, I will attach debug session log later. I use gdb-avr for debugging from eclipse, so I have to learn, how to use gdb itself.

Allan (allan-stokes) wrote :

avr-gdb 6.4 has a bug which prevents its use under Eclipse. This update is badly needed.

See which documents the point of failure on the gdb console as follows:
47 info sharedlibrary
&"info sharedlibrary\n"

My system is: Linux ##### 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

Here is my duplication of the above running avr-gdb from Eclipse under Lucid with a simple program to flash LEDs.
300 info sharedlibrary
&"info sharedlibrary\n"

Allan (allan-stokes) wrote :

I followed Geels' instructions above (thanks Dmitriy). Here is the version response after a successful build.

$ /usr/local/avr/bin/avr-gdb -v

GNU gdb (GDB) 7.1
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=avr".

The build log is attached, as well as a successful Eclipse session log with 7.1 just built, which did NOT work with 6.4 as stated in my previous post. Both logs are redacted of local information with ##### strings. Apologies for not turning off my zsh RPROMPT while running script.

[Appears I can only do one attachment per post. Session log will follow.]

Allan (allan-stokes) wrote :

Here is the successful Eclipse session log running under the freshly build avr-gdb 7.1

Changed in gdb-avr (Ubuntu):
status: Incomplete → New
Jackson Doak (noskcaj) on 2014-07-17
Changed in gdb-avr (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers