Tristan Rybak

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Tristan Rybak
    Participant

    The link points to upgrading eglibc on x86 linux. I didn’t found any source of newer eglibc for armhf linux (the one on raspberry pi).

    There were some people on raspberry pi forums trying to upgrade eglibc but nobody succeded AFAIK.

    What is the point of giving a selection of cross-compile toochain for raspberry pi project that doesn’t work by default?

    Regards,

    Tristan

    in reply to: Can’t trigger breakpoints on macosx maverick #2980
    Tristan Rybak
    Participant

    Hi,
    Just tried again and breakpoints in VS started to work… I have no idea why. Maybe macmini reboot helped.
    I did the tests you requested, so posting them here in case breakpoints stop working :).
    Thanks for the great tool!
    Regards,
    Tristan

    
    macmini:Debug rybak$ file TestOSX
    TestOSX: Mach-O 64-bit executable x86_64
    
    macmini:Debug rybak$ sudo gdb TestOSX
    GNU gdb (GDB) 7.7
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later 
    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-darwin13.1.0".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    .
    Find the GDB manual and other documentation resources online at:
    .
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from TestOSX...done.
    (gdb) b main
    Breakpoint 1 at 0x100000fdf: file TestOSX.cpp, line 7.
    (gdb) r
    Starting program: /private/tmp/VisualGDB/d/Worek/LinuxProject1/TestOSX/Debug/TestOSX

    Breakpoint 1, main (argc=1, argv=0x7fff5fbffcd8) at TestOSX.cpp:7
    7 char sz[] = "Hello, World!n"; //Hover mouse over "sz" while debugging to see its contents
    (gdb) c
    Continuing.
    Hello, World!

    [Inferior 1 (process 329) exited normally]
    (gdb) q
    
    macmini:Debug rybak$ sudo gdb --interpreter mi TestOSX
    =thread-group-added,id="i1"
    ~"GNU gdb (GDB) 7.7n"
    ~"Copyright (C) 2014 Free Software Foundation, Inc.n"
    ~"License GPLv3+: GNU GPL version 3 or later nThis is free software: you are free to change and redistribute it.nThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"nand "show warranty" for details.n"
    ~"This GDB was configured as "x86_64-apple-darwin13.1.0".nType "show configuration" for configuration details."
    ~"nFor bug reporting instructions, please see:n"
    ~".n"
    ~"Find the GDB manual and other documentation resources online at:n.n"
    ~"For help, type "help".n"
    ~"Type "apropos word" to search for commands related to "word"...n"
    ~"Reading symbols from TestOSX..."
    ~"done.n"
    (gdb)
    -break-insert main
    ^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100000fdf",func="main(int, char**)",file="TestOSX.cpp",fullname="/private/tmp/VisualGDB/d/Worek/LinuxProject1/TestOSX/TestOSX.cpp",line="7",thread-groups=["i1"],times="0",original-location="main"}
    (gdb)
    -exec-run
    =thread-group-started,id="i1",pid="332"
    =thread-created,id="1",group-id="i1"
    ^running
    *running,thread-id="all"
    (gdb)
    =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000100000fdf",func="main(int, char**)",file="TestOSX.cpp",fullname="/private/tmp/VisualGDB/d/Worek/LinuxProject1/TestOSX/TestOSX.cpp",line="7",thread-groups=["i1"],times="1",original-location="main"}
    *stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x0000000100000fdf",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fff5fbffcc8"}],file="TestOSX.cpp",fullname="/private/tmp/VisualGDB/d/Worek/LinuxProject1/TestOSX/TestOSX.cpp",line="7"},thread-id="1",stopped-threads="all"
    (gdb)
    q
    &"qn"
    =thread-exited,id="1",group-id="i1"
    =thread-group-exited,id="i1"
    macmini:Debug rybak$
Viewing 2 posts - 1 through 2 (of 2 total)