This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 217898 - Almost all gdb tests fails on MacOSX
Summary: Almost all gdb tests fails on MacOSX
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on: 210894
Blocks:
  Show dependency tree
 
Reported: 2012-09-05 13:44 UTC by soldatov
Modified: 2012-09-14 09:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2012-09-05 13:44:31 UTC
Almost all gdb tests fails on MacOSX
Scenario:
- Create arguments
- Set line breakpoint
- Push Debug Project button
==> debugger doesn't stop

This log is saved to: /var/folders/sd/sdwAKJYrHfWsN8N3uWngmk++-3Q/-Tmp-/gdb-cmds7105255368623617494.log
NB build: 201209050001
~"GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:30:16 UTC 2011)\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\nwelcome to change it and/or distribute copies of it under certain conditions.\nType \"show copying\" to see the conditions.\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
~"This GDB was configured as \"i386-apple-darwin\"."
~"\n"
(gdb) 
2-list-features
3-gdb-set print repeat 0
4-gdb-set backtrace limit 1024
5-gdb-set print elements 0
6-enable-pretty-printing
7-file-exec-and-symbols  "/Users/tester/NetBeansProjects/Arguments_3/dist/Debug/GNU-MacOSX/arguments_3"
2^error,msg="Undefined MI command: list-features"
(gdb) 
3^done,time={wallclock="0.00016",user="0.00012",system="0.00004",start="1346852609.475368",end="1346852609.475529"}
(gdb) 
4^done,time={wallclock="0.00002",user="0.00002",system="0.00000",start="1346852609.475662",end="1346852609.475686"}
(gdb) 
5^done,time={wallclock="0.00002",user="0.00002",system="0.00000",start="1346852609.475794",end="1346852609.475817"}
(gdb) 
6^error,msg="Undefined MI command: enable-pretty-printing"
(gdb) 
7^done,time={wallclock="0.23817",user="0.04899",system="0.02675",start="1346852609.476237",end="1346852609.714404"}
(gdb) 
8-file-list-exec-source-file
9cd /Users/tester/NetBeansProjects/Arguments_3
10-exec-arguments "arg 1" "arg 2" "arg 3" "arg 4"
11-break-insert -f "/Users/tester/NetBeansProjects/Arguments_3/src/args.c:39"
8^done,line="30",file="src/args.c",fullname="/Users/tester/NetBeansProjects/Arguments_3/src/args.c",time={wallclock="0.00092",user="0.00056",system="0.00034",start="1346852609.901557",end="1346852609.902475"}
(gdb) 
&"cd /Users/tester/NetBeansProjects/Arguments_3\n"
9^done
(gdb) 
10^done,time={wallclock="0.00005",user="0.00003",system="0.00001",start="1346852609.915351",end="1346852609.915404"}
(gdb) 
11^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00001f0f",func="main",file="src/args.c",line="39",shlib="/Users/tester/NetBeansProjects/Arguments_3/dist/Debug/GNU-MacOSX/arguments_3",times="0"},time={wallclock="0.02249",user="0.00047",system="0.00180",start="1346852609.922854",end="1346852609.945343"}
(gdb) 
MI parse error while parsing 'value': Expected c-string or { or [ but got SYM (time)
12-break-insert -t main
12^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x00001f0f",func="main",file="src/args.c",line="39",shlib="/Users/tester/NetBeansProjects/Arguments_3/dist/Debug/GNU-MacOSX/arguments_3",times="0"},time={wallclock="0.00037",user="0.00034",system="0.00003",start="1346852609.987786",end="1346852609.988157"}
(gdb) 
MI parse error while parsing 'value': Expected c-string or { or [ but got SYM (time)
Comment 1 soldatov 2012-09-05 13:49:52 UTC
regression in NetBeans Platform Dev (Build 201208290001) I think
Comment 2 Egor Ushakov 2012-09-05 17:36:09 UTC
may be caused by the fix of #210894
Comment 3 henk89 2012-09-14 09:04:58 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/8599d26b63f8