[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Add python-devel's gdbinit, which provides useful debugging macros.



> diff --git a/scripts/mk-images b/scripts/mk-images
> index 5e11723..bb6419f 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -911,6 +911,8 @@ udevadm info --export-db | less
>  tail -f /tmp/storage.log
>  EOF
>  
> +    cp /usr/share/doc/python-devel-*/gdbinit $MBD_DIR/.gdbinit
> +
>      rm -f $MBD_FSIMAGE
>      (cd $MBD_DIR; find . |cpio --quiet -c -o) |gzip -9 > $MBD_FSIMAGE

This will require the file to exist on the system running mk-images.
What you probably want is:

   cp $IMGPATH/usr/share/doc/python-devel-*/gdbinit $MBD_DIR/.gdbinit

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]