xsf-docs/howto/use-gdb.mdwn | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-)
New commits: commit 4d4bfa3eaff329d4fb51d970aa2f048ee0ae815d Author: Cyril Brulebois <[email protected]> Date: Fri Feb 25 00:48:50 2011 +0100 use-gdb: Mention getting a core with kdm. diff --git a/xsf-docs/howto/use-gdb.mdwn b/xsf-docs/howto/use-gdb.mdwn index d90591c..f60eab0 100644 --- a/xsf-docs/howto/use-gdb.mdwn +++ b/xsf-docs/howto/use-gdb.mdwn @@ -56,6 +56,11 @@ that.** [daemon] LocalXserverCommand=/usr/bin/Xorg -br -verbose -audit 0 -novtswitch -core + * Using `kdm`: One should look for the `ServerArgsLocal` variable in + the `/etc/kde4/kdm/kdmrc` file, and add `-core` there. Example: + + ServerArgsLocal=-br -nolisten tcp -core + * Using `xdm`: It’s sufficient to add `-core` to the command configured through `/etc/X11/xdm/Xservers`, for example: commit 8a3e38ac6853fc35327363e26aad55f2f4b9651f Author: Cyril Brulebois <[email protected]> Date: Fri Feb 25 00:44:07 2011 +0100 use-gdb: Need to specify the binary when loading a core. diff --git a/xsf-docs/howto/use-gdb.mdwn b/xsf-docs/howto/use-gdb.mdwn index 8e1b097..d90591c 100644 --- a/xsf-docs/howto/use-gdb.mdwn +++ b/xsf-docs/howto/use-gdb.mdwn @@ -63,9 +63,10 @@ that.** ### Loading a core file -That’s trivial: +That’s trivial, one just needs to pass both the core file and the path +to the binary: - # gdb -c /etc/X11/core + # gdb -c /etc/X11/core /usr/bin/Xorg Now `gdb` is ready to display backtraces. commit 8802b8730bac49ebeb9e48772a5e1ba65920d56c Author: Cyril Brulebois <[email protected]> Date: Fri Feb 25 00:25:14 2011 +0100 use-gdb: Mention getting a core with xdm. diff --git a/xsf-docs/howto/use-gdb.mdwn b/xsf-docs/howto/use-gdb.mdwn index daa7cc9..8e1b097 100644 --- a/xsf-docs/howto/use-gdb.mdwn +++ b/xsf-docs/howto/use-gdb.mdwn @@ -56,6 +56,11 @@ that.** [daemon] LocalXserverCommand=/usr/bin/Xorg -br -verbose -audit 0 -novtswitch -core + * Using `xdm`: It’s sufficient to add `-core` to the command + configured through `/etc/X11/xdm/Xservers`, for example: + + :0 local /usr/bin/X :0 vt7 -nolisten tcp -core + ### Loading a core file That’s trivial: -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

