head	1.2;
access;
symbols
	ldd3:1.1.1.1 start:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.10.01.04.59.08;	author kaurikim;	state Exp;
branches;
next	1.1;

1.1
date	2006.07.06.16.33.41;	author kaurikim;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.07.06.16.33.41;	author kaurikim;	state Exp;
branches;
next	;


desc
@@


1.2
log
@*** empty log message ***
@
text
@#!/bin/bash
#
# $Id: gdbline,v 1.1 2004/08/02 16:27:55 corbet Exp $
#
# gdbline module image
#
# Outputs an add-symbol-file line suitable for pasting into gdb to examine
# a loaded module.
#
cd /sys/module/$1/sections
echo -n add-symbol-file $2 `/bin/cat .text`

for section in .[a-z]* *; do
    if [ $section != ".text" ]; then
	    echo  " \\"
	    echo -n "       -s" $section `/bin/cat $section`
    fi
done
echo
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@linux device driver 3th example source
@
text
@@
