Discussion:
gdb multiarch
Matwey V. Kornilov
2014-06-09 11:58:08 UTC
Permalink
Hi,

What is about enabling multiarch support for gdb? I think it would be
useful especially for debugging remote targets.

At least, may we add gdb-multiarch package with --enable-targets=all
configure options?
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Andreas Schwab
2014-06-10 07:41:12 UTC
Permalink
Post by Matwey V. Kornilov
What is about enabling multiarch support for gdb?
What do you miss from the existing multitarget support?

Andreas.
--
Andreas Schwab, SUSE Labs, ***@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Matwey V. Kornilov
2014-06-10 15:49:52 UTC
Permalink
Post by Andreas Schwab
What do you miss from the existing multitarget support?
I mean, at x86_64 gdb I have:

(gdb) set architecture
Requires an argument. Valid arguments are i386, i386:x86-64,
i386:x64-32, i8086, i386:intel, i386:x86-64:intel, i386:x64-32:intel, auto.

It would be great to have also arm here to use with target remote.
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Andreas Schwab
2014-06-10 15:59:52 UTC
Permalink
Post by Matwey V. Kornilov
It would be great to have also arm here to use with target remote.
Take your pick.

(gdb) set architecture
Requires an argument. Valid arguments are i386, i386:x86-64, i386:x64-32, i8086, i386:intel, i386:x86-64:intel, i386:x64-32:intel, ia64-elf64, ia64-elf32, rs6000:6000, rs6000:rs1, rs6000:rsc, rs6000:rs2, powerpc:common64, powerpc:common, powerpc:603, powerpc:EC603e, powerpc:604, powerpc:403, powerpc:601, powerpc:620, powerpc:630, powerpc:a35, powerpc:rs64ii, powerpc:rs64iii, powerpc:7400, powerpc:e500, powerpc:e500mc, powerpc:e500mc64, powerpc:MPC8XX, powerpc:750, powerpc:titan, powerpc:vle, powerpc:e5500, powerpc:e6500, s390:64-bit, arm, armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t, armv5te, xscale, ep9312, iwmmxt, iwmmxt2, aarch64, aarch64:ilp32, m68k, m68k:68000, m68k:68008, m68k:68010, m68k:68020, m68k:68030, m68k:68040, m68k:68060, m68k:cpu32, m68k:fido, m68k:isa-a:nodiv, m68k:isa-a, m68k:isa-a:mac, m68k:isa-a:emac, m68k:isa-aplus, m68k:isa-aplus:mac, m68k:isa-aplus:emac, m68k:isa-b:nousp, m68k:isa-b:nousp:mac, m68k:isa-b:nousp:emac, m68k:isa-b, m68k:isa-b:mac, m68k:isa-b:emac, m68k:isa-b:float, m68k:isa-b:float:mac, m68k:isa-b:float:emac, m68k:isa-c, m68k:isa-c:mac, m68k:isa-c:emac, m68k:isa-c:nodiv, m68k:isa-c:nodiv:mac, m68k:isa-c:nodiv:emac, m68k:5200, m68k:5206e, m68k:5307, m68k:5407, m68k:528x, m68k:521x, m68k:5249, m68k:547x, m68k:548x, m68k:cfv4e, spu:256K, auto.

Andreas.
--
Andreas Schwab, SUSE Labs, ***@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Matwey V. Kornilov
2014-06-10 16:01:38 UTC
Permalink
Post by Andreas Schwab
Post by Matwey V. Kornilov
It would be great to have also arm here to use with target remote.
Take your pick.
How did you do that?

I run opensuse 12.3
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp:***@jabber.ru
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Dmitriy Perlow
2014-06-10 16:06:23 UTC
Permalink
Post by Matwey V. Kornilov
Post by Andreas Schwab
Post by Matwey V. Kornilov
It would be great to have also arm here to use with target remote.
Take your pick.
How did you do that?
I run opensuse 12.3
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
%gdb
GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".

(gdb) set architecture
Requires an argument. Valid arguments are i386, i386:x86-64, i386:x64-32,
i8086, i386:intel, i386:x86-64:intel, i386:x64-32:intel, ia64-elf64,
ia64-elf32, rs6000:6000, rs6000:rs1, rs6000:rsc, rs6000:rs2,
powerpc:common64, powerpc:common, powerpc:603, powerpc:EC603e,
powerpc:604, powerpc:403, powerpc:601, powerpc:620, powerpc:630,
powerpc:a35, powerpc:rs64ii, powerpc:rs64iii, powerpc:7400, powerpc:e500,
powerpc:e500mc, powerpc:e500mc64, powerpc:MPC8XX, powerpc:750,
powerpc:titan, powerpc:vle, powerpc:e5500, powerpc:e6500, s390:64-bit,
arm, armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t, armv5te,
xscale, ep9312, iwmmxt, iwmmxt2, aarch64, aarch64:ilp32, m68k, m68k:68000,
m68k:68008, m68k:68010, m68k:68020, m68k:68030, m68k:68040, m68k:68060,
m68k:cpu32, m68k:fido, m68k:isa-a:nodiv, m68k:isa-a, m68k:isa-a:mac,
m68k:isa-a:emac, m68k:isa-aplus, m68k:isa-aplus:mac, m68k:isa-aplus:emac,
m68k:isa-b:nousp, m68k:isa-b:nousp:mac, m68k:isa-b:nousp:emac, m68k:isa-b,
m68k:isa-b:mac, m68k:isa-b:emac, m68k:isa-b:float, m68k:isa-b:float:mac,
m68k:isa-b:float:emac, m68k:isa-c, m68k:isa-c:mac, m68k:isa-c:emac,
m68k:isa-c:nodiv, m68k:isa-c:nodiv:mac, m68k:isa-c:nodiv:emac, m68k:5200,
m68k:5206e, m68k:5307, m68k:5407, m68k:528x, m68k:521x, m68k:5249,
m68k:547x, m68k:548x, m68k:cfv4e, spu:256K, auto.
(gdb)
--
Best regards,
Dmitriy DA(P).DarkneSS Perlow @ Linux x64
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Matwey V. Kornilov
2014-06-10 16:11:58 UTC
Permalink
Post by Dmitriy Perlow
Post by Matwey V. Kornilov
I run opensuse 12.3
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
%gdb
GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
Makes difference!

Sorry my ignorance
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Richard Biener
2014-06-11 07:36:24 UTC
Permalink
Post by Matwey V. Kornilov
Post by Dmitriy Perlow
Post by Matwey V. Kornilov
I run opensuse 12.3
GNU gdb (GDB) SUSE (7.5.1-2.1.1)
%gdb
GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
Makes difference!
Sorry my ignorance
You can install the newest GDB from the gdb devel project, devel:gcc

Richard.
--
Richard Biener <***@suse.de>
SUSE / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746
GF: Jeff Hawn, Jennifer Guild, Felix Imend"orffer
Andreas Schwab
2014-06-11 07:04:34 UTC
Permalink
Post by Matwey V. Kornilov
I run opensuse 12.3
This is opensuse-factory@, you shouldn't come here with something that
old. :-)

Andreas.
--
Andreas Schwab, SUSE Labs, ***@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-factory+***@opensuse.org
To contact the owner, e-mail: opensuse-factory+***@opensuse.org
Loading...