-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
"next" (step over) and "finish" (step out) and "continue) should not cause recursive make to stop #25
Comments
That's a good idea. We are expecting this feature. Thanks Rocky! |
remake-4.1+dbg1.1/NEWS +102
remake-4.1+dbg1.1/NEWS +1068
remake-4.1+dbg1.1/NEWS +1214
MFLAGS seems not used in last codeIt may be just used to keep compatibility. remake-4.1+dbg1.1/main.c +1367 #if 0
/* People write things like:
MFLAGS="CC=gcc -pipe" "CFLAGS=-g"
and we set the -p, -i and -e switches. Doesn't seem quite right. */
decode_env_switches (STRING_SIZE_TUPLE ("MFLAGS"));
#endif remake-4.1+dbg1.1/main.c +1972 #if 0
decode_env_switches (STRING_SIZE_TUPLE ("MFLAGS"));
#endif |
Please, let's keep each issue to one topic. If you have observations you want to report, please sent them to the remake mailing list which has more people looking at this and is more suitable. The longer and more rambling the issues are, the more likely you are going to loose my attention. Which brings me to the back to this issue:
I hope you are very patient (and young). I just started a new job and in the foreseeable future, I'm not going to time to work on this project. I wrote what I thought should be done so that others might be able to chip in. Or if in sometime in the future I need to come back to this, I'll have notes of where to start. This project has for a while far exceeded my needs. If it doesn't meet yours, then you should get involved by working on it. I'll help others who make serious effort. |
I think, you can release next version, because it is stable enough.:thumbsup: We are both can start a new job, or work on other tasks. For this "Wish list", it isn't easy to implement it, after I debug it.:disappointed: for "next " command:
for "step" command:
We are discussing the "recursive make" e.g.
Tomorrow is our first day of a week, I have to work on my project, it is urgent, so I have less time on remake. Sorry for my poor English, I have to query dictionary some times 😂 . |
I didn't know about gdb's follow-fork-mode; that is an interesting idea. The whole command parsing in remake would need to be (and should be) redone. For now it's simpler to use "next", and in the future change that. I start a new job tomorrow too. No need to apologize for your English. It is more about figuring out an way that we can communicate. And you are doing all of the work here, so I am grateful for that. |
* commit '1f7602b54d707d971245a2aea08e86715911dbf1^': Reinstate manpage. Document --target option Add install from source instructions and... Try using travis container architecture One more target comment Save and show breakoint mask Remove remnant of future REMAKEFLAGS Remove stray debug print Proof of concept for issue #25. It does this by setting MAKEFILE rather than REMAKEFILE though. Set long name in options string for -X or --debugger Can't support -X=... form. So split out into -X (--debugger) and --debugger-stop. In parsing options to set MAKEFLAGS, don't treat -X as short option. Github issue #22 debugger quit command was not leaving recursive make. Issue #24 Initialize global_argv; github issue #23 Fix expand option of debugger "target" command Github issue #21 GNU Make bug in enumeration values?
The debugger command, "step" should cause a recursive invocation of make to stop in the recursion. The debugger commands "next", "finish" and "continue" should not.
Gist https://gist.github.com/rocky/2bf8ee0000a1efd53929
has a sample Makefile that can be used to test this. Files that would probably change are
step.h
,next.h
,continue.h
, andfinish.h
in folderdebugger/command/
, Possibly the routine that sets up the GNUMAKEFLAGS environment variable could be common.What I think is needed is to change "step", "next", "continue", "finish" to set GNUMAKEFLAGS to include "X" as appropriate.
The text was updated successfully, but these errors were encountered: