Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Neon.2 does not start GDB 7.12 on macOS

So that seems a different issue.

In the issue we've seen before with Mac and the full console

there was no MI communication at all (or maybe just the very

first command sent).


In your case, does GDB crash?

Are you able to get any of your launches to work on Mac with
the full GDB console?  The issue we saw before deadlocked,
but maybe it is not in all Mac environments... It would be interesting
to know if the full console works in some Mac setups.


From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Liviu Ionescu <ilg@xxxxxxxxxx>
Sent: January 27, 2017 14:12
To: CDT General developers list.
Subject: Re: [cdt-dev] Neon.2 does not start GDB 7.12 on macOS
 

> On 27 Jan 2017, at 20:39, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:
>
> ... What are the gdb traces?

the gdb trace console reads only:

543,579 2-list-thread-groups
543,580 2^done,groups=[{id="i1",type="process"}]
543,583 (gdb)
543,764 3-gdb-show language
543,765 3^done,value="auto"
543,766 (gdb)
543,773 4-data-evaluate-_expression_ "sizeof (void*)"
543,775 4^done,value="4"
543,775 (gdb)
543,780 5-gdb-set language auto


the commands are related to starting the Peripheral Register Viewer services. if I disable the PeripheralMemoryService, I get:


658,146 2-list-thread-groups
658,148 2^done,groups=[{id="i1",type="process"}]
658,152 (gdb)
658,291 3-gdb-version
658,293 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.12.0.20161204-git\n"
658,295 ~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
658,295 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\
e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\
ed by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
658,296 ~"This GDB was configured as \"--host=x86_64-apple-darwin10 --target=arm-none-eabi\".\nType \
\"show configuration\" for configuration details."
658,296 ~"\nFor bug reporting instructions, please see:\n"
658,296 ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
658,297 ~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/soft\
ware/gdb/documentation/>.\n"
658,297 ~"For help, type \"help\".\n"
658,297 ~"Type \"apropos word\" to search for commands related to \"word\".\n"
658,297 3^done
658,299 (gdb)
658,303 4-environment-cd "/Users/ilg/My Files/MacBookPro Projects/GNU ARM Eclipse/Eclipse Workspaces\
/runtime-GAE-15/f4"
658,305 4^done
658,306 (gdb)
658,310 5-gdb-set breakpoint pending on
658,311 5^done
658,312 (gdb)
658,316 6-enable-pretty-printing
658,317 6^done
658,318 (gdb)
658,321 7-gdb-set python print-stack none
658,322 7^done
658,323 (gdb)
658,327 8-gdb-set print object on
658,328 8^done
658,328 (gdb)
658,332 9-gdb-set print sevenbit-strings on
658,334 9^done
658,334 (gdb)
658,336 10-gdb-set charset ISO-8859-1

I don't think that `gdb-set language auto` or `gdb-set charset ISO-8859-1` are the trouble makers, it might be something else that happens in parallel that kills GDB, but I have no proof of this.


regards,

Liviu

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top