Update README-alpha
Showing
1 changed file
with
6 additions
and
8 deletions
... | @@ -56,16 +56,14 @@ startup. For example, to debug `mimeview' utility, run | ... | @@ -56,16 +56,14 @@ startup. For example, to debug `mimeview' utility, run |
56 | 56 | ||
57 | mimeview --HANG [OTHER-OPTIONS] | 57 | mimeview --HANG [OTHER-OPTIONS] |
58 | 58 | ||
59 | Then switch to another terminal, get the PID of the ivoked utility and | 59 | The program will then display on the terminal its PID and instructions |
60 | attach to it using gdb: | 60 | for attaching to it, e.g.: |
61 | 61 | ||
62 | gdb mimeview PID | 62 | mimeview: process 13944 is waiting for debug (3600 seconds left) |
63 | mimeview: to attach: gdb -ex 'set variable mu_wd::_count_down=0' mailutils/mail/.libs/lt-mail 13944 | ||
63 | 64 | ||
64 | Once in gdb, issue the following command | 65 | Switch to another terminal, and run the suggested command. Now set |
65 | 66 | your breakpoints and proceed as usual. | |
66 | set _argp_hang=0 | ||
67 | |||
68 | Now set your breakpoints and proceed as usual. | ||
69 | 67 | ||
70 | * Copyright information: | 68 | * Copyright information: |
71 | 69 | ... | ... |
-
Please register or sign in to post a comment