[Crash-utility] [PATCH 1/2] ARM: update some comments

Dave Anderson anderson at redhat.com
Fri Jan 28 15:15:00 UTC 2011


----- Original Message -----
> There are few comments which are not relevant anymore. Update the
> comments to reflect the current situation.
> 
> Signed-off-by: Mika Westerberg <ext-mika.1.westerberg at nokia.com>

Now there's a nice safe patch -- queued for the next release.

Thanks,
   Dave

> ---
> arm.c | 3 ---
> unwind_arm.c | 5 ++---
> 2 files changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/arm.c b/arm.c
> index 4e6ab3d..1752f62 100644
> --- a/arm.c
> +++ b/arm.c
> @@ -1048,9 +1048,6 @@ arm_get_frame(struct bt_info *bt, ulong *pcp,
> ulong *spp)
> 
> /*
> * Get the starting point for the active cpu in a diskdump.
> - *
> - * Note that we currently support only UP machines. In future we might want to
> - * support SMP machines as well.
> */
> static int
> arm_get_dumpfile_stack_frame(struct bt_info *bt, ulong *nip, ulong *ksp)
> diff --git a/unwind_arm.c b/unwind_arm.c
> index 58fb5da..18fdad9 100644
> --- a/unwind_arm.c
> +++ b/unwind_arm.c
> @@ -250,9 +250,8 @@ read_module_unwind_table(struct unwind_table *tbl,
> ulong addr)
> idx_size = idx_stop - idx_start;
> 
> /*
> - * We know the size of the index table. Allocate memory for the table
> - * (including the EH table) and read the contents from the kernel 
> - * memory.
> + * We know the size of the index table. Allocate memory for
> + * the table and read the contents from the kernel memory.
> */
> tbl->idx = calloc(idx_size, 1);
> if (!tbl->idx)
> --
> 1.7.3.2
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility




More information about the Crash-utility mailing list