Is there any way to redefine a function

2010-02-02 Thread parag
Hi All, Is there any way to redefine an existing C function using GDB I havea function int whatsup(){ return 1; } I want to make it int whatsup() { return 0; } ___ bug-gdb mailing list bug-gdb@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gdb

Re: Is there any way to redefine a function

2010-02-02 Thread parag
On Feb 3, 5:19 am, parag parag.p...@gmail.com wrote: Hi All, Is there any way to redefine an existing C function using GDB I havea  function int whatsup(){ return 1; } I want to make it int whatsup() { return 0; } Also , is there any way you can make a symbol of a function change