Mailinglist Archive: opensuse-kernel (119 mails)
| < Previous | Next > |
Re: [opensuse-kernel] Enabling kdb support in OpenSUSE 10.2
- From: Bernhard Walle <bwalle@xxxxxxx>
- Date: Sat, 18 Aug 2007 22:17:39 +0200
- Message-id: <20070818201739.GA16605@xxxxxxx>
* Suresh Jayaraman <sjayaraman@xxxxxxxxxx> [2007-08-10 12:11]:
> i386 machine, I am getting the following error:
>
> "arch/i386/kernel/entry.S:598: Error: CFI instruction used without
> previous .cfi_startproc"
>
> Binutils version - 2.17.50.0.5
Try following patch:
---
arch/i386/kernel/entry.S | 3 +++
1 file changed, 3 insertions(+)
--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@@ -594,7 +594,9 @@ ENTRY(name) \
#ifdef CONFIG_KDB
ENTRY(kdb_call)
+ RING0_INT_FRAME
pushl %eax # save orig EAX
+ CFI_ADJUST_CFA_OFFSET 4
SAVE_ALL
pushl %esp # struct pt_regs
pushl $0 # error_code
@@ -602,6 +604,7 @@ ENTRY(kdb_call)
call kdb
addl $12,%esp # remove args
jmp restore_all
+ CFI_ENDPROC
#ifdef CONFIG_SMP
BUILD_INTERRUPT(kdb_interrupt,KDB_VECTOR)
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
> i386 machine, I am getting the following error:
>
> "arch/i386/kernel/entry.S:598: Error: CFI instruction used without
> previous .cfi_startproc"
>
> Binutils version - 2.17.50.0.5
Try following patch:
---
arch/i386/kernel/entry.S | 3 +++
1 file changed, 3 insertions(+)
--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@@ -594,7 +594,9 @@ ENTRY(name) \
#ifdef CONFIG_KDB
ENTRY(kdb_call)
+ RING0_INT_FRAME
pushl %eax # save orig EAX
+ CFI_ADJUST_CFA_OFFSET 4
SAVE_ALL
pushl %esp # struct pt_regs
pushl $0 # error_code
@@ -602,6 +604,7 @@ ENTRY(kdb_call)
call kdb
addl $12,%esp # remove args
jmp restore_all
+ CFI_ENDPROC
#ifdef CONFIG_SMP
BUILD_INTERRUPT(kdb_interrupt,KDB_VECTOR)
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
| < Previous | Next > |