English 中文(简体)
gdb 7.0 警告: 核心档案中的错误大小
原标题:gdb 7.0 warnings: Wrong size fpregset in core file

在分析核心档案时,我方gdb 7.0将若干警告:

warning: Wrong size gregset in core file.
warning: Wrong size fpregset in core file.
warning: Wrong size gregset in core file.
warning: Wrong size fpregset in core file.
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

我不相信它的相关内容,但我无法回过来:

(gdb) bt
#0  0x00000000 in ?? ()

非洲顾问办公室的结构是SUN Solaris 10 SPARC。

<>斯特凡> 问 题:

  1. What is the reason/cause of these warnings?
  2. Why can t I retrieve a backtrace?
  3. How to fix these problems?
问题回答

The problem can in gdb as well in your program. I would recommend to update gdb to the most recent version (7.3.1). Also it could be helpful to create simple test program and analyze its core with gdb to be sure that your utility works fine.

“gregset”和其他错误表明,gdb无法阅读核心档案中的数据。 如果你的方案陷入了野心和腐败的 st锁,就会出现这种情况。 gregset误差是指gdb无法读从核心档案中确定的普通用途登记册。 f 预设的是浮动点登记册。 预期的登记规模取决于平台。

b 如果你能够适当阅读核心文件,不会奏效。

当我试图在位于Solais10的64比方核心垃圾堆放场上工作时,我还收到一些假装警告(没有痕迹)。 原因似乎在于,太阳星10的用户空间应用系统是用32个轨道进行编集的,没有为64个轨道核心假设提供支持。

亚洲开发银行国际资源中心频道上的陈词给我提供了以下参数:

--enable-64-bit-bfd

我也汇编了64个参考版本的gdb(-m64),但必须如此。 现在,水泥可以用于64条轨道核心倾销,在没有任何警告的情况下制造 st痕。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签