-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Remove sage-gdb-commands from src/bin #33627
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
Author: Matthias Koeppe |
comment:6
Would |
comment:7
Replying to @kiwifb:
The purpose of this file is not documented, and it is only used there |
comment:8
I just looked at the content of the file for the first time in some years.
may be we can just get rid of it if it is the only place it is used. And that's what the gdb manual has to say about what it does https://sourceware.org/gdb/current/onlinedocs/gdb/Starting.html#Starting |
comment:9
In any case, |
comment:10
François asks a good question about the purpose of this file. Could we instead just have a variable |
comment:11
The name of the file is passed to |
comment:12
Yes, it is all coming back to me now. I guess it is meant to be clever. In any case it is the design we have to deal with and if it is only used from the |
comment:13
Actually the file is also used in |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
With recent gdb versions we can just use this option instead and get rid of the command file altogether
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:18
The code handling |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
What's the advantage to explicitly including
|
comment:23
Without this change it wasn't working for me at all (on macOS): I got
|
comment:24
I can't get it to work on OS X either way. The SPKG doesn't build for me ("C compiler cannot create executables" because "ld: library not found for -ltinfo"). If I run |
comment:25
Yes, the |
comment:26
isn't gdb pretty much useless with macOS clang, and one should use lldb instead? |
comment:27
Hence #31568 |
comment:28
Let's merge this. |
Reviewer: John Palmieri |
comment:29
Thanks! |
Changed branch from u/mkoeppe/move_sage_gdb_commands_out_of_src_bin to |
comment:31
By the way, we missed an example in |
Changed commit from |
(from #33625)
Critical because this file is not compatible with editable installs (
setup.py develop
), see #31049CC: @tornaria @jhpalmieri @kiwifb @dimpase
Component: scripts
Author: Matthias Koeppe
Branch:
d24b928
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/33627
The text was updated successfully, but these errors were encountered: