aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-22 00:26:08 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-22 00:26:08 +0000
commit0d3d2c7158407776fb4de1f03554dc3df098e932 (patch)
tree09ec73cefef13b956154d53bf2431526f3470ecb /gdb/ada-lang.h
parentcbc085687d02e45eccd1a05f6ce2068e88f2e3a8 (diff)
downloadgdb-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 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions