This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
-fpack-struct problems with gdb 5.3
- From: Matthew J Fletcher <mfletcher at serck-controls dot co dot uk>
- To: gdb at sources dot redhat dot com
- Date: Mon, 30 Jun 2003 12:46:07 +0100
- Subject: -fpack-struct problems with gdb 5.3
- Organization: Serck Controls Ltd
- Reply-to: mfletcher at serck-controls dot co dot uk
Hi,
i am using the gcc -fpack-struct flag with gcc2.96-82mdk to pack all
structures (needed to for some asm routines). the problem being
is that gdb-5.3 does not correctly recognise the structs as packed and
so displayes them as if they were not, (viewing the memory region shows
what it should look like).
so may i ask can gdb view packed structs ?, is there a way to tell from the
ELF mapfile or any other objdump information that the compiler has poorly
generated the debug info ?
or is there any way to investigate this further myself.
regards
---
Matthew J Fletcher
Embedded Software
Serck Controls Ltd
---
**********************************************************************
Serck Controls Ltd, Rowley Drive, Coventry, CV3 4FH, UK
Tel: 44 (0) 24 7630 5050 Fax: 44 (0) 24 7630 2437
Web: www.serck-controls.com Admin: post@serck-controls.co.uk
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the above. Any views or opinions presented are solely those of the
author and do not necessarily represent those of Serck Controls Ltd.
Please note that Serck Controls Ltd is able to, and reserves the right
to, monitor e-mail communications passing through its network.
This email has been checked for viruses. Serck Controls Ltd shall not
be responsible for damage caused by any undetected virus.
**********************************************************************
Serck Controls Ltd is a subsidiary of Serck Controls Pty. Ltd.
Registered in England No. 4353634.
**********************************************************************
******************************************************************
This message has been checked for all known viruses by MessageLabs
******************************************************************