This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, When working with bare metal it would sometimes be nice to force gdb to forget it's knowledge of register values. Is there any such command to make it flush it's registers (aka registers_changed()) and reload them from the target next time you print them? When no program is loaded on the target, there is no method to print out all registers except for uncommenting the `if (selected_frame == NULL)' test in infocmd.c:registers_info(). Is there a more convenient method? Also, I found a bug (gdb 4.16) in the caching code. In the function dcache.c:dcache_info() it reads: for (p = last_cache->valid_head; p; p = p->p) which should be (or something like this) for (p = last_cache ? last_cache->valid_head : 0; p; p = p->p) Regards, Hans -- H. Zuidam E-Mail: hans@brandinnovators.com Brand Innovators B.V. P-Mail: P.O. Box 1377 de Pinckart 54 5602 BJ Eindhoven, The Netherlands 5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138