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

[GDB]: issues with pathes on the running #29

Open
kas1e opened this issue Sep 19, 2024 · 1 comment
Open

[GDB]: issues with pathes on the running #29

kas1e opened this issue Sep 19, 2024 · 1 comment

Comments

@kas1e
Copy link

kas1e commented Sep 19, 2024

Lately we find out that when we tried to run GDB on Andrea's SAM, or on my Pegasos2 , GDB did bring us a window with words (in case of my build on pegasos2):

please inset volume 
/amiga/os4_gdb/native/lib/debug\Wdebug/gdb/Work:
in any drive

The first part of the path is my the prefix used to compile GDB, in my case is : --prefix=/amiga/os4_gdb_native/

Interestingly that os4_gdb words instead of following by '_' underscore have another '/' slash.

Same issue happens on the Andreas's SAM460.

If we put an .unix file in the root, then, instead of this big string, GDB ask amiga: and etc: assigns.

Issue happens not in the light of the latest paths changes, but there for some time.

@kas1e
Copy link
Author

kas1e commented Sep 21, 2024

Additional information about:

If we run gdb binary with --configuration option, then it show us among with others that:

--with-gdb-datadir=/our_path (relocatable)
--with-jit-reader-dir=/our_path (relocatable)
--with-separate-debug-dir=/our_path (relocatable)

Where our_path is that line /amiga/os4_gdb_native/lib/debug , etc.

So those 3 is guilty for bringing up us those requesters. Probably we need to change them on PROGDIR: or something. Through as i can see we can't do so from configuration line, as it will ask for ABSOLUTY path to be provided to prefix, so we can't from it put os4's PROGDIR:, but we probably can change it directly in configure scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant