This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debug/9161: stabs: No function argument debug info for function pointers


Old Synopsis: No function argument debug info for function pointers
New Synopsis: stabs: No function argument debug info for function pointers

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Mar 14 21:23:33 2003
State-Changed-Why:
    Confirmed also on x86-linux with mainline, when using
    -gstabs:
    
    g/x> cat x.cc
    int (*p1) ();
    int (*p2) (int);
    
    int main ()
    {}
    
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -gstabs x.cc
    
    g/x> gdb a.out
    GNU gdb 5.1.1
    Copyright 2002 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 "i386-suse-linux"...
    (gdb) ptype p1
    type = int (*)(void)
    (gdb) ptype p2
    type = int (*)(void)
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9161


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]