#52182 closed enhancement (fixed)

Add multiarch variant to gdb

Reported by: fhgwright (Fred Wright) Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: gdb

Description

It's fairly trivial to add a "multiarch" variant which builds gdb for all supported architectures, thereby allowing a single gdb to work for both native and cross debugging. This is also a way out of the binutils conflict mess.

One slight disadvantage with this approach, at least for ARM, is that it supports multiple variants of ARM executable which it doesn't know how to distinguish among, so you need to specify the architecture explicitly.

Attachments (1)

gdb-patch1.patch (453 bytes) - added by fhgwright (Fred Wright) 22 months ago.

Download all attachments as: .zip

Change History (4)

Changed 22 months ago by fhgwright (Fred Wright)

Attachment: gdb-patch1.patch added

comment:1 Changed 22 months ago by fhgwright (Fred Wright)

Oops - forgot the variant description. Fixed.

comment:2 Changed 22 months ago by mf2k (Frank Schima)

Cc: stuartwesterman@… removed
Owner: changed from macports-tickets@… to stuartwesterman@…
Version: 2.3.4

comment:3 Changed 20 months ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added
Resolution: fixed
Status: newclosed

done r153903

Note: See TracTickets for help on using tickets.