Date: Tue, 10 Jul 2012 22:39:58 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 05:52:55AM +0300, Eli Zaretskii wrote:
./gdb.texinfo:190: warning: @contents should only appear at beginning or
end of document
This
Hi,
maybe you know, just in case not...
You allow use of bespoke python build for the most part. There is an
issue in the linking though - I had to make the following change so that
gdb was linked with my python rather than the system one. I suppose
that you should set some sort of
On Thu, Jun 21, 2012 at 10:54:15PM +0300, Eli Zaretskii wrote:
I don't think so. If I am not wrong, a colon means that there is a label
before the node name, but it still leads to a cross reference.
That's true, but an asterisk '*' cannot be a valid label,
I can't see why.
and
Date: Sat, 23 Jun 2012 13:29:38 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 10:54:15PM +0300, Eli Zaretskii wrote:
I don't think so. If I am not wrong, a colon means that there is a label
before the node name, but
On Thu, Jun 21, 2012 at 10:51:16PM +0300, Eli Zaretskii wrote:
That demand would be satisfied by an optional warning. E.g., like
with GCC's -Wfoo switches.
As to whether this means that the manual is in bad shape, I would be
tempted to say that it is the case.
Here's the output that
Date: Sat, 23 Jun 2012 15:07:38 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
You missed my point. The manual is formatted fine, but since it uses an
undocummented Texinfo feature it is in a bad shape Texinfo-wise and the
formatting could change in
On Thu, Jun 21, 2012 at 05:52:55AM +0300, Eli Zaretskii wrote:
./gdb.texinfo:22939: warning: @table has text but no @item
Why is this warning needed?
This one is clear to me. A @table without @item does not make sense. A
@table specifies a series of headings and associated texts, so a
On Thu, Jun 21, 2012 at 05:56:49AM +0300, Eli Zaretskii wrote:
Date: Wed, 20 Jun 2012 22:37:53 +0200
From: Patrice Dumas pertu...@free.fr
Cc: Karl Berry k...@freefriends.org
./gdb.texinfo:11503: warning: @strong{Note...} produces a spurious
cross-reference in Info
No, it doesn't,
Date: Thu, 21 Jun 2012 15:50:29 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 05:52:55AM +0300, Eli Zaretskii wrote:
./gdb.texinfo:22939: warning: @table has text but no @item
Why is this warning needed?
This one is
Date: Thu, 21 Jun 2012 15:58:57 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 05:56:49AM +0300, Eli Zaretskii wrote:
Date: Wed, 20 Jun 2012 22:37:53 +0200
From: Patrice Dumas pertu...@free.fr
Cc: Karl Berry
On Thu, Jun 21, 2012 at 07:15:47PM +0300, Eli Zaretskii wrote:
On Thu, Jun 21, 2012 at 05:52:55AM +0300, Eli Zaretskii wrote:
./gdb.texinfo:22939: warning: @table has text but no @item
Why is this warning needed?
This one is clear to me. A @table without @item does not make
On Thu, Jun 21, 2012 at 07:17:40PM +0300, Eli Zaretskii wrote:
./gdb.texinfo:11503: warning: @strong{Note...} produces a spurious
cross-reference in Info
No, it doesn't, not with a colon immediately following the Note.
My testing shows that it indeed does, at least with info
Date: Thu, 21 Jun 2012 19:18:19 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 07:15:47PM +0300, Eli Zaretskii wrote:
On Thu, Jun 21, 2012 at 05:52:55AM +0300, Eli Zaretskii wrote:
./gdb.texinfo:22939: warning: @table
Date: Thu, 21 Jun 2012 19:24:51 +0200
From: Patrice Dumas pertu...@free.fr
Cc: bug-gdb@gnu.org, k...@freefriends.org
On Thu, Jun 21, 2012 at 07:17:40PM +0300, Eli Zaretskii wrote:
./gdb.texinfo:11503: warning: @strong{Note...} produces a spurious
cross-reference in Info
Hello,
The following warnings remain when using the cvs makeinfo version. It
is unclear to me how to solve these, but hipefully, you should be able
to fix them, or bear with warnings:
./gdb.texinfo:22939: warning: @table has text but no @item
./gdb.texinfo:22991: warning: @table has text but no
Date: Wed, 20 Jun 2012 22:37:53 +0200
From: Patrice Dumas pertu...@free.fr
Cc: Karl Berry k...@freefriends.org
The following warnings remain when using the cvs makeinfo version. It
is unclear to me how to solve these, but hipefully, you should be able
to fix them, or bear with warnings:
Hello,
Please find attached a patch for the gdb documentation that fixes issues
such as @itemx instead of @item, empty @item, a missing @node, @menu
entries order inconsistent with respect with sectioning, and @@ to be
protected in @tex comments.
--
Pat
? GDBvn.texi
? Makefile
? annotate.info
?
Date: Fri, 15 Jun 2012 02:43:35 +0200
From: Patrice Dumas pertu...@free.fr
Cc: Karl Berry k...@freefriends.org
Please find attached a patch for the gdb documentation that fixes issues
such as @itemx instead of @item, empty @item, a missing @node, @menu
entries order inconsistent with
Hi all!
I'm working for a tool which has to extract some information (for example
the address) of variables from a PIC32 elf file. For this I use gdb to read
in the elf file and get the address information with the print varname
command.
This works for almost all symbols but not for all. And I
Hi all,
I'm using an older version of a cross-platform GDB build (7.0.1 based). Having
to use the find command a lot, as I do, is a pain because it seem to always
have been broken and never fixed (?). The problem is that find sometimes
works, but often returns bogus matches. I came across
Hello,
Gdb 7.4 can not run 64-bit code program, on Solaris10 x86_64.
[How-To-Repeat]
% cat hello.c
#includestdio.h
int main (void)
{
printf (Hello.\n);
return 0;
}
% gcc -g -m32 hello.c
% gdb a.out
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+:
On 02/01/2012 07:38 PM, Frank wrote:
I have a short script that generates an instruction-by-instruction
execution trace of a program. However, as the script executes the
stepi command in a loop, GDB displays several lines of disassembled
machine code at each step instead of just the precise
Differently from as on subject I would like the behaviour to be that gdb stops
code execution.
Is there someway to do that ?
___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb
Hello,
I am using GDB 7.3 for MIPS to debug multi process application on
linux kernel 2.6.18.8
I am running the main process from GDB. This process forks and
executes some other processes but I cannot see that new inferior is
created within the debugger while new process is spawned.
I am using
I am generating very simple Mach-O binaries by hand without symbol
information and trying to debug them with gdb by setting breakpoints
at various addresses. However, the breakpoints I set do not fire,
though I am certain those addresses are being executed (program runs
to completion, I can put in
Once upon a time, there was a little Princess called Amiga... she had a devoted
companion known as Prince Agnus, who had a bad habit: he employed some not so
trusty registry officers that did not allow to read back the values written to
their registers...
Well, that was the long awaited
Once upon a time, there was a little Princess called Amiga... she had a devoted
companion known as Prince Agnus, who had a bad habit: he employed some not so
trusty registry officers that did not allow to read back the values written to
their registers...
Well, that was the long awaited
___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb
Hi,
I tried to use user-defined commands in gdb, Below is the code
snippet
saved in gdb.txt file...
define gpr
p $arg0
p $arg1
set $i = $arg0
set $j = $arg1
while $i = $j
info reg r(p $i)
set $i++
end
end
document gpr
Displays GPR contents from start index to destination index.
end
in
Hello again,
I think this may be useful to others trying to build gdb in Cygwin:
- the problem reported below was caused by CR/LF ending of the script's
lines - Cygwin converts most of DOS's CR/LFs into LFs, but apparently not
all
- however, I'm told the gdb distribution (gdb-7.3.1.tar.gz) does
Hello,
I'm trying to build gdb 7.3.1 from the gdb-7.3.1.tar.gz distribution, with
- Win7-64
- Cygwin (GNU bash, version 4.1.10(4)-release (i686-pc-cygwin))
- MinGW32 (gcc.exe (GCC) 4.6.1)
- mingw32-make (GNU Make 3.82, Built for i386-pc-mingw32)
- and more than willing to supply other config
Hello,
Having only found gdb 7.2 pre-built for Win-64, I decided I'd try and build
the 7.3.1 myself, using MinGW64. To do so, I first installed the latest
Cygwin environment (1.7.9-1), which appears to be running flawlessly.
Once in Cygwin, I cd'd to the previously extracted gdb-7.3.1 and tried
The virtual function getMyVal() of MyClass returns a MyVal object
as value, and MyVal object size is small, and MyVal object has copy
constructor.
When I use p myClass-getMyVal(), the gdb calls the
copy ctor of MyVal badly, and copy ctor overwrite the vptr of the
myClass.
When I remove the
Hi,
I'm Thanh Vo. I've been using gdb to debug some numeric code and I've
run into puzzling behavior that appears to be sensitive to the order
of the inputs.
Attached is the source of a test program and 2 set of inputs. The
inputs only differ in the order of arguments.
Run on the test program
In skip_prologue() in rs6000-tdep.c, lr_reg is extracted from an mflr
instruction as follows:
lr_reg = (op 0x03e0) 21;
This makes lr a register number between 0 and 31.
When it is later tested when looking for a stw etc. instruction:
if ((op 0x) == (lr_reg | 0x9001))
Hello all. I'm using gdb 7.2, release version to debug a program written in
c++ and compiled with gcc 4.5.0 in a MinGW environment under Windows XP SP3
32 bits.
This is how my debugging session goes on: I usually attach gdb to my program
when it's already running (gdb --pid ), then gdb takes
All:
We have thus far been unable to reproduce the following application
behavior when running outside of gdb running inside emacs. Therefore, I
am starting with this list for suggestions on how to proceed.
The high level description of the problem is this: At times, when
running an
Hi, Dear Sir
I have a very simple program below, gdb can't print the value
of fabs(1.0+3.5). Is it a bug?
Really appreciate.
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
### GDB VERSION:
GNU gdb (GDB) 7.2
This GDB was configured as --host=x86_64-unknown-linux-gnu
--target=powerpc-linux-gnu.
powerpc-linux-gnu-gdb: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs),
not stripped
### GDBSERVER VERSION:
GNU
Hello! I am a recruiter at CISCO. We are looking for a strong GDB
Developer. Please contact me if you are interested.
Brent
brero...@cisco.com
GDB Developer Job at CISCO
Location - San Jose, CA
Description
Cisco Systems, Inc. is the worldwide leader in networking for the
Internet. Today,
I am running with arm-elf-gdb and I am getting the classic
Internal error: pc 0x0 in read in psymtab, but not in symtab error.
I'm using a vendor-supplied toolchain with GDB 6.6, and not in a
position where I can readily upgrade.
However, I don't think it is a bug because the problem occurs only
I am trying to debug u-boot on a PowerPC (MPC8260) target
configured to have u-boot located from address 0x0
after reset.
Basically, u-boot have to be linked to some other address since
RAM must be allocated to address 0x0, so I need to use the
'add-symbol-file' command until the memory mapping
Hello,
The PDF's at http://www.gnu.org/software/gdb/documentation/ are missing
the ToC and the index. Is it possible to have them replaced with correctly
generated ones?
Thanks for your time.
Sincerely,
j.
___
bug-gdb mailing list
bug-gdb@gnu.org
Hello all,
I am trying to build gdb 7.2, but it fails. See errors below.
My target is m68k (MCF5441x) and compiler is gcc-4.4.54-eglibc-2.10.54.
Kernel target version 2.6.29.
gdb 6.8 also fails, but gdb 6.6 succeeded.
Obviously the PT_D0... are not defined, but I can't figure out
Hello,
On a ColdFire (twr-mcf5441x) board, I am trying to debug an application
linked with -lpthread, but GDB fails:
Starting program: /upcodepr.linux.mcf54415
Reading symbols from /lib/ld.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
Noticing the same problem, is there any workaround? The one noted in OP doesn't
work for me.
$ cat 5.cpp
namespace foo {
int bar (void) {return __LINE__;}
int bar (int n) { return n;}
} ;
int main (int ac, char **av)
{
return foo::bar(__LINE__) - foo::bar();
}
$ g++4 -g -o 5
Hello,
The PDF's at http://www.gnu.org/software/gdb/documentation/ are missing
the ToC and the index. Is it possible to have them replaced with correctly
generated ones?
Thanks for your time.
Sincerely,
j.
___
bug-gdb mailing list
bug-gdb@gnu.org
I've qt33 which is compiled with debug symbols:
objdump -t /usr/local/lib/libqt-mt.so.3 | wc -l
25160
nm /usr/local/lib/libqt-mt.so.3 | wc -l
24715
But still have backtrace as follows:
#6 0x00b48546 in QDragObject::metaObject ()
#7 0x00080172daaa in QWidget::event () from
Tried this:
echo run | gdb ls
(gdb) Hangup detected on fd 0
error detected on stdin
And this:
echo run | gdb -x /dev/stdin ls
Program exited normally.
(gdb) Hangup detected on fd 0
error detected on stdin
Nothing in help and manual.
Anything?
___
kenorb ken...@gmail.com writes:
Tried this:
echo run | gdb ls
(gdb) Hangup detected on fd 0
error detected on stdin
And this:
echo run | gdb -x /dev/stdin ls
Program exited normally.
(gdb) Hangup detected on fd 0
error detected on stdin
Nothing in help and manual.
Anything?
$ echo
Hi,
I am developing code in C++ on RHEL4.7 with gcc4.4.4 and using gdb7.1.
I am encountering a very strange problem debugging code in a shared
library (.so) with gdb7.x. The shared library is built on a RHEL4.7
platform with gcc4.4.4. The library is linked from a mix of object
files most of
is there any way to run the gdb into a viewer mode
like if I were to see how 1000 next instructions will work and I want
it to do so slowly, with a difference of .5 s
or something like that
___
bug-gdb mailing list
bug-gdb@gnu.org
I have a simple multithreaded test case program. If I attached to it in gdb
I get a useful backtrace. If I run gcore and then load the core file I do
not.
Here is the gdb output for the attached gdb:
(gdb) attach 9299
Attaching to program: /root/multithread, process 9299
Reading symbols from
Hi,
gdb-7.2 seems to have some trouble with c++ symbol completion for setting break
points
which did not show up in gdb-7.1 and earlier (built myself with gcc-4.3.2 on
opensuse 11.1 64bit):
a) for the small hello-world program below, when I try to set a bp to h1 by
typing
b 'h1TAB
Hi,
i m a new user of gdb. I work on the last release of Debian Lenny and i ve
installed last stable release of gdb to debug my C apps.
I want to set the IO redirection terminal (cause my program need an input an
output management). But, in the specified terminal (tty command of gdb), i
get that
On 08/06/10 10:24, David Daney wrote:
On 08/06/2010 10:19 AM, Bruce Korb wrote:
The problem seems to be that GDB thinks all the code belongs to a
single line of text. At first, it was a file of mine, so I presumed
I had done something strange and passed it off. I needed to do some
more
On Fri, Aug 6, 2010 at 11:19 AM, David Daney dda...@caviumnetworks.com wrote:
That seems to work. There are one or two or three bugs then.
Either gdb needs to recognize an out of sync object code
It cannot do this as it was released before GCC-4.5.
GDB and GCC communicate with each other
Hi Richard,
On Fri, Aug 6, 2010 at 11:43 AM, Richard Guenther
richard.guent...@gmail.com wrote:
The gdb version on openSUSE that ship with GCC 4.5 is perfectly fine
(it's 7.1 based). No idea what the reporter is talking about (we don't ship
insight IIRC).
You are remembering correctly. I
In the windows version it tries to read .gdbinit on start up, but that's
in illegal file name in windows. Why not make it gdb.ini?
Regards,
Paul
___
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb
On 2010-8-6 0:00, Paul wrote:
In the windows version it tries to read .gdbinit on start up, but
that's in illegal file name in windows. Why not make it gdb.ini?
Regards,
Paul
No, you can change the filesname in windows command line. strange is
only works on cmd, not the windows shell. :-)
Dear all,
I use gdbserver + gdb to debug remote arm-linux system, gdb-7.0.1.
Compile gdb ./configure --host=i686-pc-linux-gnu
--target=armv5tl-montavista-linux-gnueabi
--prefix=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le
Compile gdbserver
Hi,
I am facing exactly the same problem as mentioned above. I am using kgdb on
x86_64 machine with Debian installation.
Even I don't see CONFIG_DEBUG_LL option in the .config file.
Did you get any resolution to this problem? Please let me know. Any pointers
in this direction will be of great
I now use gdb to debug aix following C + + program, this problem
occurs frequently,
/opt/src/gnu/dist/gdb/gdb/utils.c:981: gdb-internal-error: virtual
memory exhausted: can't allocate 11640336 bytes.
An internal GDB error was detected. This may make further
debugging unreliable. Quit this
Setting language to c works. Yes, the subscript numbers are a little bit
wired: the row number is from 0, and the column number is from 1. This doesn't
like C or Fortran.
Thanks,
Lyle
Date: Sat, 24 Apr 2010 04:08:18 +0200
From: ikrabbe@googlemail.com
To: lyle_h...@hotmail.com
CC:
On Fri, Apr 23, 2010 at 08:22:40PM -0500, lylelyle wrote:
No, I can't do this in gdb.
(gdb) print a(4)
Wrong number of subscripts
(gdb) print a(6,1)
no such vector element
lyle
I'm, quite sorry. As gdb relies on language features, you might either examine
the memory directly
On Sun, Mar 28, 2010 at 10:50:38PM -0500, lyle lyle wrote:
Hi Guys,
I write code in Fortran and found that I couldn't print an element's value
if the element wasn't in the first column. For example,
There is an array A and its size is 5x3. In gdb, I can get its first column
elements'
Hi Guys,
I write code in Fortran and found that I couldn't print an element's value
if the element wasn't in the first column. For example,
There is an array A and its size is 5x3. In gdb, I can get its first column
elements' value with the command: p A(1, 1), until A(5, 1), because the
array is
one more small patch for AIX in config/mh-ppc-aix in case $CC includes
spaces. for some reason in older gdb version we needed CC='gcc
-isystem /usr/include' shows that quoting problem. will test if this
still is needed (read: what's the real problem and a better fix, iff
still needed at
Hi Pedro,
On Feb 18, Pedro Alves wrote:
I encourage you to try building cvs head, or a recent
snapshot with hp cc so catch other possible tweaks
necessary, as gdb 7.1 is close to branching out.
thanks for the hint! ok, so here are some more problems at least FYI,
not sure if all of them
one more small patch for AIX in config/mh-ppc-aix in case $CC includes spaces.
for some reason in older gdb version we needed CC='gcc -isystem /usr/include'
shows that quoting problem. will test if this still is needed (read: what's
the real problem and a better fix, iff still needed at alll).
On Tuesday 23 February 2010 15:22:33, Harald Koenig wrote:
Hi Pedro,
On Feb 18, Pedro Alves wrote:
I encourage you to try building cvs head, or a recent
snapshot with hp cc so catch other possible tweaks
necessary, as gdb 7.1 is close to branching out.
thanks for the hint! ok, so
Hi,
here is a problem report for break points on AIX 5.1 and 5.3.
first AIX 5.3:
if a program first runs in gdb without any break points and finished,
then it's not possible to set break a break point for the next run
(this is the same on AIX 5.1 too):
# gdb a.out
GNU gdb
[moving from bug-gdb@gnu.org, patches go to gdb-patc...@]
On Monday 15 February 2010 14:16:21, Harald Koenig wrote:
Hi,
trying to compile gdb-7.0.1 on HP-UX, the hp cc complains about some problems
in
mi-main.c and breakpoint.c symfile.c
cc:
Hi,
trying to compile gdb-7.0.1 on HP-UX, the hp cc complains about some problems in
mi-main.c and breakpoint.c symfile.c
cc: /soft/os/gdb/gdb-7.0.1/gdb-7.0.1/gdb/mi/mi-main.c, line 176: error
1610: Attempting to return value from function of type void.
cc:
Critical stuff here: just received a report that these two links on
http://www.gnu.org/software/gdb/song are broken:
http://www.fsf.org/fun/humor.html#Music
- replace with http://www.gnu.org/music/gdb-song.html (I surmise)
http://cafe.colorado.edu/~tromey/other.html
- maybe Tom can help ...
Hi All,
Is there any way to redefine an existing C function using GDB
I havea function
int whatsup(){
return 1;
}
I want to make it
int whatsup() {
return 0;
}
___
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb
On Feb 3, 5:19 am, parag parag.p...@gmail.com wrote:
Hi All,
Is there any way to redefine an existing C function using GDB
I havea function
int whatsup(){
return 1;
}
I want to make it
int whatsup() {
return 0;
}
Also ,
is there any way you can make a symbol of a function change
___
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb
Hi,
Would you please try port number between 0 to see if that works. Say some
random number 6879
~Tribhuwan
--- On Sat, 2/1/10, tytful tyt...@163.com wrote:
From: tytful tyt...@163.com
Subject: redefine the port of gdbserver/TCPIP
To: bug-gdb bug-gdb@gnu.org
Date: Saturday, 2 January,
hello engineer,
I want to use port:12345 , but i can't redefine the port of
insight.because it stay port1000 stabely.
what should i do to define the port flexiblly?
___
bug-gdb mailing list
bug-gdb@gnu.org
Hi,
I am not an expert of kernel debugging but I found it so thought of sharing
though it is for UML
1. http://user-mode-linux.sourceforge.net/new/hacking.html
2. http://user-mode-linux.sourceforge.net/old/debugging.html
Hope it helps.
~Trib
--- On Mon, 28/12/09, Alexandre Rusev
michael,
i'll send my patches to the gdb-pathches mailing list then :)
thanks,
michael
Michael Snyder wrote:
Michael wrote:
hi,
does this suffice as a submission for review, or do you suggest an
alternative format?
greetz,
michael
First of all, the place to submit this is
hi,
does this suffice as a submission for review, or do you suggest an
alternative format?
greetz,
michael
115,134c115
// print the status word
// updated 20091227 (developm...@codenamezero.org)
static void print_i387_status_word (unsigned int status, struct ui_file *file)
{
hi,
does this suffice as a submission for review, or do you suggest an
alternative format?
greetz,
michael
115,134c115
// print the status word
// updated 20091227 (developm...@codenamezero.org)
static void print_i387_status_word (unsigned int status, struct ui_file *file)
{
Michael wrote:
hi,
does this suffice as a submission for review, or do you suggest an
alternative format?
greetz,
michael
First of all, the place to submit this is gdb-patc...@sourceware.org.
You will want to say a bit more about the purpose of your patch
(what problem are you trying to
hi,
does this suffice as a submission for review, or do you suggest an
alternative format?
greetz,
michael
115,134c115
// print the status word
// updated 20091227 (developm...@codenamezero.org)
static void print_i387_status_word (unsigned int status, struct ui_file *file)
{
清水河 wrote:
On Dec 24, 2:00 am, Alexandre Rusev aru...@ru.mvista.com wrote:
你好!;)
清水河 wrote:
Hi, I tried to use gdb to debug kernel code.
I compiled with -g -ggdb flags, but it seems gdb cannot show symbols
correctly, instead it shows all ??
compile kernel with debug
你好!;)
清水河 wrote:
Hi, I tried to use gdb to debug kernel code.
I compiled with -g -ggdb flags, but it seems gdb cannot show symbols
correctly, instead it shows all ??
compile kernel with debug information.
In kernel compilation menu make menuconfig select Kernel
Hucking-Compile kernel with
On Dec 24, 2:00 am, Alexandre Rusev aru...@ru.mvista.com wrote:
你好!;)
清水河 wrote:
Hi, I tried to use gdb to debug kernel code.
I compiled with -g -ggdb flags, but it seems gdb cannot show symbols
correctly, instead it shows all ??
compile kernel with debug information.
In kernel
Hi,
I'm writing a package that accepts arbitrary character strings from the
command line, and I'm trying to debug it with gdb.
When run without gdb the command line string is passed directly to my
program, but when I tell gdb to pass it, gdb insists on interpreting it as a
Hello everyone,
I use the GDB 7.0 with python extension to periodically attach GDB to
a running process and output some variable values. The process I am
investigating is quite simple: it prints out the value of a variable
which decrease by 1 every 3 seconds. My method is quite simple and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[please keep replies on the list, and adding bug-gdb]
According to Josef Vukovic on 11/23/2009 5:37 AM:
2009/11/19 Eric Blake e...@byu.net mailto:e...@byu.net
I'm not sure when that was fixed, but I confirmed that even as far
back
Sorry. I cannot agree with it.
It make GDB not flexible.
Hui
On Fri, Nov 13, 2009 at 22:42, Alexandre Rusev aru...@ru.mvista.com wrote:
teawater wrote:
I think this is a hehavior of kernel. I think change pc always a
danger thing. :)
Yes, extremely dangeorous! ;)
But GDB supports
teawater wrote:
I think this is a hehavior of kernel. I think change pc always a
danger thing. :)
Yes, extremely dangeorous! ;)
But GDB supports feature such as call func_name, when using it the
Joe user does not even cares the PC,
he just thinks that he makes call to some function...
Now I have a project which include three directories **/bin**, **/
inc** and **/src**.
All of header files (*.h) are included in **/inc** and all of source
(*.c) files are stored in **/src**, i.e. a.c, b.c, c.c..., the final
generated executable file will locate in /bin.
after compling with
I think this is a hehavior of kernel. I think change pc always a
danger thing. :)
infrun: clear_proceed_status_thread (process 4542)
infrun: proceed (addr=0x, signal=144, step=0)
infrun: resume (step=0, signal=0), trap_expected=0
infrun: wait_for_inferior (treat_exec_as_sigtrap=0)
teawater wrote:
This signal ctrl-c will not really send to inferior.
But the result is interrupted system call which is restarted then by kernel.
And is user changes program counter in GDB at this point,
then it takes place before the modification of PC is done by kernel.
The result is that
http://sourceware.org/gdb/wiki/ProcessRecord
On Oct 30, 5:47 am, Boehm, Hans hans.bo...@hp.com wrote:
There may be an easy GC-specific workaound, int that you can probably build
it with -DNO_GETCONTEXT. Or you might be able to link statically against
libc? But this doesn't sound like this
This signal ctrl-c will not really send to inferior.
(gdb) help info handle
On Oct 31, 12:10 am, Alexandre Rusev aru...@ru.mvista.com wrote:
Hi.
When the program at ht end of message debugged under GDB is stopped with
Ctrl+C
it's usually found in interrupted system call. (The same result is
Hi.
When the program at ht end of message debugged under GDB is stopped with
Ctrl+C
it's usually found in interrupted system call. (The same result is
observed for x86 and PPC with kernels 2.6.18 and 2.6.28)
(gdb) where
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7f36ad0 in nanosleep () from
101 - 200 of 5286 matches
Mail list logo