[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there any way to redefine a function
From: |
parag |
Subject: |
Re: Is there any way to redefine a function |
Date: |
Tue, 2 Feb 2010 16:31:54 -0800 (PST) |
User-agent: |
G2/1.0 |
On Feb 3, 5:19 am, parag <address@hidden> 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 into a
variable?