gdb 中文意思是什麼
gdb
解釋
調試器-
Display gdb ' s current idea of the target byte order
顯示當前目標位元組序的配置。 -
Detail specification for photomultiplier tube of type gdb - 593
Gdb - 593型光電倍增管詳細規范 -
Gdb will mask off the address bits above that number, when it passes addresses to the remote target
當傳遞地址到遠程目標的時候, gdb將在這一數字上關閉地址的掩位。 -
Bett type conveyor gks automatic packaging machine gdb
供化工等企業的自動封包流水線使用。 -
Gdb allows you to run shell commands without exiting the debugging environment with the shell command, invoked as shell commandline, useful for making changes to source code whilst debugging
Gdb可以讓您通過使用shell命令在不退出調試環境的情況下運行shell命令,調用形式是shell [ commandline ] ,這有助於在調試時更改源代碼。 -
Gdb is run from the shell with the command gdb with the program name as a parameter, for example gdb eg, or you can use the file command once inside gdb to load a program for debugging, for example file eg
在shell中,可以使用gdb命令並指定程序名作為參數來運行gdb ,例如gdb eg ;或者在gdb中,可以使用file命令來裝入要調試的程序,例如file eg 。 -
Most flavours of linux come with the gnu debugger, or gdb to the shell
Linux的大部分特色源自於shell的gnu調試器,也稱作gdb 。 -
As a crucial embedded development tool, the embedded system debugger is usually used to debug and test embedded software 。 a embedded system debugger consists of a cross debugger and a debugger agent, which characteristic lies in the separation of running environments between the cross debugger and the debuggee and the dependence on the gdb agent in the debug session 。 with the development of embedded technique, various embedded debug techniques continuously advance and all kinds of embedded system debuggers are playing a more and more important role in the embedded software development 。 the gnu debugger, gdb as a tool in the gnu toolkits, is an extremely powerful source - level debugger 。 among gdb ’ s many noteworthy features, its ability to debug programs “ remote ” is fascinating 。 this capability is not only essential when porting gnu tools to a new operation system or microprocessor, but it ’ s also useful for developers who need to debug an embedded system based on a processor that gnu already supports 。 gdb is the preferred solution in embedded development because it provides portable, sophisticated debugging over a broad rang of embedded systems 。 this paper discusses the status quo of various embedded system debuggers ; deeply analyses the overall structure of gdb and the debugging mechanism of gdb based on its source codes ; introduces the gdb ’ s remote debug technique and gdb / mi, which are usually used to develop the gdb - based embedded system debugger 。 then dwells on how to use gdb / mi to develop a gui front and how to use rsp 、 stub and gdbserver to design a debug agent, in order to expatiate on the design method of the gdb - based embedded system debugger 。 in the end, provides a concrete implementation of the gdb - based embedded system debugger of “ embedded simulation development platform ”, the project of the innovation fund for technology based firms 。
這個特性不僅在將gnu工具移植到一個新的操作系統和微處理器的時候很有用,對于想調試一個基於gnu支持的晶元的嵌入式系統的開發人員來說,也是非常有用的。由於gdb提供了在大多數嵌入式系統上的可移植的、復雜的調試功能,它已成為嵌入式開發的首選解決方案。本文討論了當前的各種嵌入式調試器的現狀,結合源代碼詳細分析了gdb的結構和調試原理,介紹了開發基於gdb的嵌入式系統調試器常用的遠程調試技術和gdb / mi介面;然後詳細闡述了如何使用gdb / mi開發gdb的圖形前端和怎樣使用rsp協議、 stub和gdbserver設計一個調試代理,從而較深入地討論了基於gdb的嵌入式調試器的設計方法;最後,結合國家中小型企業創新基金項目「嵌入式模擬開發平臺」 ,給出了一個基於gdb的嵌入式系統調試器具體實現。 -
Start gdb and specify your pid, in my case with gdb eg2 1283
啟動gdb並指定進程標識,在我舉的這個例子中是gdb eg2 1283 。 -
Gdb indicates that the program gets an arithmetic exception at line 7 and usefully prints out the line and the values of the arguments to the wib function
Gdb指出在程序第7行發生一個算術異常,通常它會列印這一行以及wib ( )函數的自變量值。 -
If nothing is wrong your program will execute to completion, at which point gdb will get control back
如果一切正常,程序將執行到結束,此時gdb將重新獲得控制。 -
We had to continue program execution twice to get to this point, however by setting a condition on the breakpoint we can make gdb halt only when " value " actually equals " div "
我們必須繼續執行兩次程序才會發生這種情況,但是只要在斷點上設置一個條件就可以使gdb只在" value "與" div "真正相等時暫停。 -
Gdb could not find the full definition for a struct or class
Gdb不能找到一個結構體或者類的完全的定義。 -
Gdb mi provides a new machine - oriented interface that is far better suited to programs that want to directly parse gdb s output
Gdb / mi提供了一種新的面向機器的介面,它非常適合於想要直接解析gdb輸出的程序。 -
In that case, gdb can fetch values from these sections out of the object file, rather than from the target program
在這種情況下, gdb可以從對象文件之外的這些段獲取變量值,而不是從目標程序。 -
Gdb could not parse a type specification output by the compiler
Gdb不能分析編譯器產生的某種類型的說明。 -
Gdb uses its own library bfd to read your files
Gdb使用它自己的庫bfd來讀取你的文件。 -
Kill the child process in which your program is running under gdb
殺死在gdb下運行的程序的子進程。 -
Load eg1 into gdb again and type
將eg1再次裝入gdb ,並輸入: -
Linux software debugging with gdb
使用gdb調試linux軟體
分享友人