diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 00:26:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-22 00:26:08 +0000 |
commit | 0d3d2c7158407776fb4de1f03554dc3df098e932 (patch) | |
tree | 09ec73cefef13b956154d53bf2431526f3470ecb /libdecnumber | |
parent | cbc085687d02e45eccd1a05f6ce2068e88f2e3a8 (diff) | |
download | gdb-0d3d2c7158407776fb4de1f03554dc3df098e932.zip gdb-0d3d2c7158407776fb4de1f03554dc3df098e932.tar.gz gdb-0d3d2c7158407776fb4de1f03554dc3df098e932.tar.bz2 |
sim: profile: implement --profile-file backend
The profile code already has options and handling for accepting a file to
write the profile output like the trace code, but it doesn't actually use
it. At the moment, it simply opens the file at the start and closes it at
the end. So add two new local functions the way the trace code is doing
it and have them figure out whether to write the output to stdout or the
specified file. Then convert all existing output in the profile code to
use these helpers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions