Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-25 Thread Anton Korobeynikov
Hello, Evan > Problem 1: > (gdb) b main > Line number not known for symbol "main" > Explicitly setting a breakpoint on line 10 works. That's strange. This definitely works for me. Could you please send me the .bc and native gcc output with extra -dA option? > Problem 2: > In function f(). > (gdb)

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-25 Thread Anton Korobeynikov
Hello, Evan > Problem 1: > (gdb) b main > Line number not known for symbol "main" > Explicitly setting a breakpoint on line 10 works. That's strange. This definitely works for me. Could you please send me the .bc and native gcc output with extra -dA option? > Problem 2: > In function f(). > (gdb)

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-25 Thread Evan Cheng
Hi Anton, Here is a silly test case: #include struct ss { int x; int y; }; void f(int a, struct ss b) { =>printf("%d %d\n", a, b.x); } int main() { struct ss S = {1, 2}; f(0, S); return 0; } Problem 1: (gdb) b main Line number not known for symbol "main" Explicitly setting a brea

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Anton Korobeynikov
Evan, > This allows gdb to examine local scalar variables, but not aggregate > ones. There are also issues with parameters, even scalar ones. Ok. Any other testcases? Owen, ready for another session? :) -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Peters

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Chris Lattner
On Jan 24, 2008, at 4:53 PM, Owen Anderson wrote: > Evan, Chris, > I've confirmed that basic testcases appear to be working with this > change. Awesome, thanks Anton and Owen! -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Evan Cheng
This allows gdb to examine local scalar variables, but not aggregate ones. There are also issues with parameters, even scalar ones. Evan On Jan 24, 2008, at 5:17 PM, Evan Cheng wrote: > Woot. Thx a bunch. I'll look at more complicated cases. > > Evan > > On Jan 24, 2008, at 4:53 PM, Owen Ander

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Dale Johannesen
On Jan 24, 2008, at 5:17 PM, Evan Cheng wrote: > Woot. Thx a bunch. I'll look at more complicated cases. > > Evan My bad. Thanks Anton and sorry everybody. > On Jan 24, 2008, at 4:53 PM, Owen Anderson <[EMAIL PROTECTED]> wrote: > >> Evan, Chris, >> >> I've confirmed that basic testcases appear

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Evan Cheng
Woot. Thx a bunch. I'll look at more complicated cases. Evan On Jan 24, 2008, at 4:53 PM, Owen Anderson <[EMAIL PROTECTED]> wrote: > Evan, Chris, > > I've confirmed that basic testcases appear to be working with this > change. > > --Owen > > On Jan 24, 2008, at 6:34 PM, Anton Korobeynikov wrot

Re: [llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Owen Anderson
Evan, Chris, I've confirmed that basic testcases appear to be working with this change. --Owen On Jan 24, 2008, at 6:34 PM, Anton Korobeynikov wrote: Author: asl Date: Thu Jan 24 18:34:13 2008 New Revision: 46337 URL: http://llvm.org/viewvc/llvm-project?rev=46337&view=rev Log: Provide cor

[llvm-commits] [llvm] r46337 - in /llvm/trunk/lib/Target/X86: X86RegisterInfo.cpp X86RegisterInfo.h X86RegisterInfo.td

2008-01-24 Thread Anton Korobeynikov
Author: asl Date: Thu Jan 24 18:34:13 2008 New Revision: 46337 URL: http://llvm.org/viewvc/llvm-project?rev=46337&view=rev Log: Provide correct DWARF register numbering for debug information emission on x86-32/Darwin. This should fix bunch of issues. Modified: llvm/trunk/lib/Target/X86/X86Re