From 0707f52ebf978f170bb9e70b0eca7c540826ce0b Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 30 May 2017 10:28:44 +0200 Subject: [PATCH] Get rid of broken hint in the readme (#1801) luaL_dostring(L, s) is a macro that expands to luaL_loadstring(L,s)||lua_pcall(L,0,LUA_MULTRET,0). Then, lua_pcall(L,n,r,f) sometimes (since Lua 5.3?) is a macro that expands to lua_pcallk(L,n,r,f,0,NULL), but can sometimes also just be a function. Explaining all the above would make this section more complicated and apparently no one uses this hint anyway, because no one told us yet that this hint does not work. Signed-off-by: Uli Schlachter --- docs/01-readme.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/01-readme.md b/docs/01-readme.md index 66fb2145..5d5cdd6c 100644 --- a/docs/01-readme.md +++ b/docs/01-readme.md @@ -120,10 +120,6 @@ Then in gdb set any args and run it: (gdb) set arg --replace (gdb) run -Inside gdb you can use the following to print the current Lua stack traceback: - - (gdb) print luaL_dostring(globalconf.L.real_L_dont_use_directly, "print(debug.traceback())") - ## Reporting issues Please report any issues you may find on [our bugtracker](https://github.com/awesomeWM/awesome/issues).