GDB on OSX with C++

I dont’ know what GDB’s problem is, I think it might
be a problem concerning the fact that the REAL
function prototype of a class member function includes
a pointer to that type of class as its first
parameter, and GDB is being dumb and not taking this
into account. But how could such an integral part of
the GNU development environment have such an obvious
error? It must be my fault, but I don’t know how so if
someone could show me my error I would be most
greatful. Here are the parts of my GDB session that I
think are important, and in case my judgement is
wrong, I’ve included the whole thing at the bottom of
this email.

~/clono pop$ gdb ClonoPop <>
(gdb) break 'GLClonoBoard:: <>
GLClonoBoard::Accelerate(bool)
GLClonoBoard::AddThing(unsigned char, unsigned char,
unsigned char, unsigned char)

… many tab completion possibilities …

(gdb) break 'GLClonoBoard::Accelerate(bool)'
Breakpoint 1 at 0x57a4: file SDL_diskaudio.c, line
185.
(gdb) run
Starting program: /Users/donny/clono pop/ClonoPop
Reading symbols for shared libraries
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1

Initializing SDL

Initializing the display

Reading symbols for shared libraries . done

This next part is printed several times, I believe

it is printed every time GLClonoBoard::Accelerate() is
called.

Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done------------------------------
Below is the ENTIRE session.

~/clono pop$ gdb ClonoPop
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec
4 15:41:30 GMT 2003)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB. Type “show
warranty” for details.
This GDB was configured as “powerpc-apple-darwin”.
Reading symbols for shared libraries … done
(gdb) break 'GLClonoBoard:: <>
GLClonoBoard::Accelerate(bool)
GLClonoBoard::AddThing(unsigned char, unsigned char,
unsigned char, unsigned char)
GLClonoBoard::Avalanche(unsigned char)
GLClonoBoard::ChaChain(unsigned char, unsigned char,
unsigned char)
GLClonoBoard::Chain()
GLClonoBoard::Demo()
GLClonoBoard::FallingThingGo()
GLClonoBoard::GLClonoBoard(float, float)
GLClonoBoard::Lost()
GLClonoBoard::OrganizeFreeFallers()
GLClonoBoard::Plunge()
GLClonoBoard::Print()
GLClonoBoard::React(bool)
GLClonoBoard::RemoveClearedBlocks()
GLClonoBoard::Render()
GLClonoBoard::Shift(bool)
GLClonoBoard::SkyFalling()
GLClonoBoard::clear_steps
GLClonoBoard::fall_step_num
GLClonoBoard::fall_step_size
GLClonoBoard::grid_space
GLClonoBoard::num_cols
GLClonoBoard::num_rows
GLClonoBoard::operator()()
GLClonoBoard::plunge_speed
GLClonoBoard::~GLClonoBoard()
(gdb) break 'GLClonoBoard::Accelerate(bool)'
Breakpoint 1 at 0x57a4: file SDL_diskaudio.c, line
185.
(gdb) run
Starting program: /Users/donny/clono pop/ClonoPop
Reading symbols for shared libraries
+…
done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Happy Birthday!
Initializing SDL
Initializing the display
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Reading symbols for shared libraries . done
Error in re-setting breakpoint 1:
Function “GLClonoBoard::Accelerate(bool)” not defined.
Re-enabling shared library breakpoints: 1
Initializing OpenGL
Uninitializing everything
Goodbye!

Program exited normally.


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail