Opened 8 years ago

Closed 7 years ago

#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) 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by fhgwright (Fred Wright)

Attachment: gdb-patch1.patch added

comment:1 Changed 8 years ago by fhgwright (Fred Wright)

Oops - forgot the variant description. Fixed.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

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

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

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

done r153903

Note: See TracTickets for help on using tickets.