FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 02-01-2012, 01:39 PM
Dave Anderson
 
Default Update the flags when ELF Notes are processed

----- Original Message -----
> This patch updates the pc->flags2 with ELF_NOTES flag for netdump, when
> we have NT_PRSTATUS notes available from the core. Currently this flags is set
> only in the case of diskdump. This change would allow us to generalize
> the routines for obtaining stack frame for active tasks, where the GPRS
> are stored in the notes.
>
> Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
> ---
>
> netdump.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/netdump.c b/netdump.c
> index d23e45c..177bc5c 100644
> --- a/netdump.c
> +++ b/netdump.c
> @@ -1696,6 +1696,9 @@ dump_Elf32_Nhdr(Elf32_Off offset, int store)
> }
> }
> }
> + /* Set the flags to indicate that we have NT_PRSTATUS notes */
> + if (nd->num_prstatus_notes > 0)
> + pc->flags2 |= ELF_NOTES;
> break;
> case NT_PRPSINFO:
> netdump_print("(NT_PRPSINFO)
");

As we discussed during the first patch-set, I'm not interested in
changing 32-bit x86 behavior as you've done above. You said that
you were going to re-spin it with #ifdef PPC.

Dave




--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 

Thread Tools




All times are GMT. The time now is 07:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org