Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d91e8458
...
d91e845839601872e8e97e7d6f7367fb0a516d87
authored
2017-01-20 16:13:34 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update README-alpha
1 parent
fa88b179
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
README-alpha
README-alpha
View file @
d91e845
...
...
@@ -56,16 +56,14 @@ startup. For example, to debug `mimeview' utility, run
mimeview --HANG [OTHER-OPTIONS]
Then switch to another terminal, get the PID of the ivoked utility and
attach to it using gdb:
gdb mimeview PID
Once in gdb, issue the following command
set _argp_hang=0
Now set your breakpoints and proceed as usual.
The program will then display on the terminal its PID and instructions
for attaching to it, e.g.:
mimeview: process 13944 is waiting for debug (3600 seconds left)
mimeview: to attach: gdb -ex 'set variable mu_wd::_count_down=0' mailutils/mail/.libs/lt-mail 13944
Switch to another terminal, and run the suggested command. Now set
your breakpoints and proceed as usual.
* Copyright information:
...
...
Please
register
or
sign in
to post a comment