Opened 13 years ago

Closed 12 years ago

#33468 closed update (fixed)

gdb update 7.3 to 7.4

Reported by: hbemail@… Owned by: dweber@…
Priority: Low Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: alexeiz@…, ds@…, jwiegley@…, tomi.kyostila@…, tezheng1982@…, blair (Blair Zajac)
Port: gdb

Description

I'd like to see gdb version 7.4 in macports.

Attachments (2)

gdb.diff (599 bytes) - added by hbemail@… 13 years ago.
gdb-7.4.1.patch (1.5 KB) - added by robsonpeixoto@… 12 years ago.
Version 7.4.1

Download all attachments as: .zip

Change History (13)

Changed 13 years ago by hbemail@…

Attachment: gdb.diff added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dweber@… removed
Keywords: update removed
Owner: changed from macports-tickets@… to dweber@…

Changed 12 years ago by robsonpeixoto@…

Attachment: gdb-7.4.1.patch added

Version 7.4.1

comment:2 Changed 12 years ago by alexeiz@…

Cc: alexeiz@… added

Cc Me!

comment:3 Changed 12 years ago by ds@…

Cc: ds@… added

Cc Me!

comment:4 Changed 12 years ago by dave@…

For me,

configure.cflags-append     -I${prefix}/include
configure.cxxflags-append   -I${prefix}/include

must also be deleted from the Portfile, since these lines cause the ansidecl.h supplied by gdb to be hidden by the one in /opt/local/include, which is missing a definition of the ENUM_BITFIELD macro.

comment:5 Changed 12 years ago by jwiegley@…

Cc: jwiegley@… added

Cc Me!

comment:6 Changed 12 years ago by jwiegley@…

I've got GDB 7.4.1 built and working, but the second time I try to "run" anything, it crashes with report of a double-free. So far, this looks like a real bug in GDB that is only being detected because of OS X's memory tracking. Has anyone else run into this?

I haven't any success yet at running valgrind on gdb, unfortunately. And I can't build it with Clang 3.1 either, to use -faddress-sanitizer.

comment:7 Changed 12 years ago by tomi.kyostila@…

Cc: tomi.kyostila@… added

Cc Me!

comment:8 Changed 12 years ago by tezheng1982@…

Cc: tezheng1982@… added

Cc Me!

comment:9 Changed 12 years ago by tezheng1982@…

anyone successfully use macport gdb with emacs gdb/mi?

my emacs will simply hang when debugging with "ggdb -i=mi".

comment:10 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: blair@… added

gdb was updated to 7.5 in r98401.

comment:11 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to dave@…:

For me,

configure.cflags-append     -I${prefix}/include
configure.cxxflags-append   -I${prefix}/include

must also be deleted from the Portfile

These lines were deleted in r99301.

Note: See TracTickets for help on using tickets.