Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native GDB client support for ARCv3 HS5x targets #605

Open
jzbydniewski opened this issue Apr 29, 2024 · 4 comments
Open

Add native GDB client support for ARCv3 HS5x targets #605

jzbydniewski opened this issue Apr 29, 2024 · 4 comments
Assignees
Labels
arc64 Everything related to GNU toolchain for ARCv3 and 64-bit ARC cores in particular component: gdb enhancement

Comments

@jzbydniewski
Copy link

jzbydniewski commented Apr 29, 2024

Using ARCv3, in release 2023.09 I cannot enable option "BR2_PACKAGE_GDB_DEBUGGER". In Config.in I can see this line

config BR2_PACKAGE_GDB_DEBUGGER
	bool "full debugger"
	depends on BR2_USE_WCHAR
	depends on !BR2_sh && !(BR2_arc64 || BR2_arc32)
	select BR2_PACKAGE_GMP if !BR2_GDB_VERSION_10
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_ZLIB

Is this really not supported for arc32 or just leftover ? For comparison, branch arc64 doesn't have this limitations

config BR2_PACKAGE_GDB_DEBUGGER
	bool "full debugger"
	depends on BR2_USE_WCHAR
	depends on !BR2_sh
	select BR2_PACKAGE_GMP if !BR2_GDB_VERSION_10 && !BR2_arc
	select BR2_PACKAGE_NCURSES
	select BR2_PACKAGE_ZLIB

If really not supported, can you please add support ?

@shahab-vahedi
Copy link
Member

There's no native GDB client support in ARCv3 (yet).

@abrodkin abrodkin transferred this issue from foss-for-synopsys-dwc-arc-processors/buildroot Apr 29, 2024
@abrodkin abrodkin changed the title BR2_PACKAGE_GDB_DEBUGGER cannot be selected in release 2023.09 Add native GDB client support for ARCv3 Apr 29, 2024
@kolerov kolerov changed the title Add native GDB client support for ARCv3 Add native GDB client support for ARCv3 HS5x targets Sep 9, 2024
@kolerov kolerov added this to the 2024.12 milestone Sep 9, 2024
@kolerov kolerov assigned kolerov and unassigned kolerov and shahab-vahedi Sep 9, 2024
@kolerov
Copy link
Collaborator

kolerov commented Sep 9, 2024

@kolerov kolerov added the arc64 Everything related to GNU toolchain for ARCv3 and 64-bit ARC cores in particular label Sep 9, 2024
@kolerov
Copy link
Collaborator

kolerov commented Oct 11, 2024

Hi @jzbydniewski. With the latest GDB patches not it's possible to build native GDB for HS5x targets with core dumps support. You can build Linux images using this Buildroot branch:

https://github.com/foss-for-synopsys-dwc-arc-processors/buildroot/tree/arc-2024.12

Note that now arc-2024.12 is a current development branch for the next release and arc64 branch is abandoned.

@kolerov
Copy link
Collaborator

kolerov commented Dec 11, 2024

As I said in the previous comment, it's possible now to build native GDB for HS5x targets. I am removing 2024.12 milestone but I am leaving this issue opened for further discussion.

@kolerov kolerov removed this from the 2024.12 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arc64 Everything related to GNU toolchain for ARCv3 and 64-bit ARC cores in particular component: gdb enhancement
Projects
None yet
Development

No branches or pull requests

4 participants