Skip to content

Instantly share code, notes, and snippets.

@biot023
Created May 15, 2011 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biot023/973003 to your computer and use it in GitHub Desktop.
Save biot023/973003 to your computer and use it in GitHub Desktop.
GDB error output
Current directory is /Users/douglivesey/work/cpp/cell_biots/features/
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin10.7.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file features/run_features
features/run_features: No such file or directory.
(gdb) cd ..
Working directory /Users/douglivesey/work/cpp/cell_biots.
(gdb) file features/run_features
Reading symbols from /Users/douglivesey/work/cpp/cell_biots/features/run_features...warning: can't find section '.data' in OSO file /Users/douglivesey/work/cpp/cell_biots/features/generating_a_game_feature.o
warning: can't find section '.data' in OSO file /Users/douglivesey/work/cpp/cell_biots/features/run_features.o
done.
(gdb) b FeatureGameRenderer::render
Breakpoint 1 at 0x1552
(gdb) b FeatureGameRenderer::render()
Note: breakpoint 1 also set at pc 0x1552.
Breakpoint 2 at 0x1552
(gdb) b FeatureGameRenderer::render(shared_ptr<Game>)
Note: breakpoints 1 and 2 also set at pc 0x1552.
Breakpoint 3 at 0x1552
(gdb) run
Starting program: /Users/douglivesey/work/cpp/cell_biots/features/run_features
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1552: Input/output error.
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment