亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cdbfileformat.txt

?? This a FREE tool chain which compiles C codes into 8051 binary code, converts the binary to RTL ROM,
?? TXT
?? 第 1 頁 / 共 3 頁
字號:


CDB File Format

Lenny Story

SDCC Development Team

Table of Contents

    1 Overview
    2 Usage
    3 Conventions
    4 Record Formats
        4.1 Basic Record Format
        4.2 Module Record
        4.3 Symbol Records
        4.4 Type Chain Record
        4.5 Function Records
        4.6 Type Records
        4.7 Type Member
        4.8 Link Address of Symbol
        4.9 Linker Symbol End Address Record
        4.10 Linker ASM Line Record
        4.11 Linker C-Line Record
    5 Source File Example 
    6 CDB File Example



1 Overview

The CDB File is used to record all of the information 
that describes the variables, functions, lines, and 
memory items. These records provide the critical 
information that allows external utilities to properly 
locate and interpret variables, functions, and types. 
Development tools such as simulators debuggers and 
profilers use these records to analyze and describe the 
code in terms of the high level language in which it 
was written. The CDB file is therefore the critical 
link to bridging the compiled code image to the source 
files from which it was built.

2 Usage

CDB files are created when the "--debug" option is 
used. Each source file will have its own CDB file 
associated with it. When the --debug flag is used 
during the link process, the CDB file of the FIRST 
source module will contain all the records from all the 
source modules linked as well as the linker records.

Code and variables that are removed during the 
optimization phase will not be present in the debug 
file. Images created for debugging purposes should 
always disable as much optimization as possible. The 
following options are critical for the completeness of 
the resulting debugging file.

--debug Mandatory to produce a debugging file. 

--noinduction Induction processing occurs at the very 
latest stages of compilation. This results in the 
inability to report the location of the resulting 
variables. Including this option disables the loop 
induction optimization. 

--nooverlay Overlay variables will not show up in the 
debug file. Including this option will force variables 
to the data segment.

3 Conventions

The record examples and grammar shown in this document 
are displayed on multiple lines only for the purposes 
of readability. The records contained within the CDB 
files are always encoded on a single line. 

Record grammar is indicated here using a custom format 
of the following specifications:

* Record Elements are surrounded using the characters 
  `<' and '>'.

* Alternation is indicated using the `|' character.

* Non-mandatory items are surrounded using the 
  characters `{` and `}'.

4 Record Formats

4.1 Basic Record Format

  <RecordType><:><RecordSpec>

+---------+------------------------------------+----------------------+
| 

Type  | 

Description                      | 

Form               |
+---------+------------------------------------+----------------------+
+---------+------------------------------------+----------------------+
|  

M    | 

Module Record                    | 

Compiler           |
+---------+------------------------------------+----------------------+
|  

F    | 

Function Record                  | 

Compiler           |
+---------+------------------------------------+----------------------+
|  

S    | 

Symbol Record                    | 

Compiler           |
+---------+------------------------------------+----------------------+
|  

T    | 

Structure (Complex Type) Record  | 

Compiler           |
+---------+------------------------------------+----------------------+
|  

L    | 

Linker Record                    | 

Assembler / Linker |
+---------+------------------------------------+----------------------+


All records are ASCII text, with one record per line. 
The record type is the first character, followed by a 
single colon ":". Sub types are often included as part 
of the record specific format.

4.2 Module Record

  <M><:><Filename>

+-------------+-------------------------------------------------------------+
|    

M      | 

Module record type indicator                              |
+-------------+-------------------------------------------------------------+
| 

Filename  | 

The filename of the module that this CDB file represents. |
+-------------+-------------------------------------------------------------+


Purpose

The module record is used to define a source module. It 
is usually used at the beginning of each of the module 
specific CDB files, and will occur several times in the 
final CDB file produced by the linker to represent each 
of the source modules. The location of this record 
within the file does not necessarily indicate the scope 
of the variables that follow. Those variables that have 
module specific scope have an indication encoded within 
their respective symbol entry.

Examples

M:Timer0
M:_bp

4.3 Symbol Records

+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|        

S        |  

Symbol record type indicator                                                                                                                                             |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|        

G        |  

Scope is global                                                                                                                                                          |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|  

F <Filename>   |  

Scope is file                                                                                                                                                            |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|  

L <Function>   |  

Scope is local                                                                                                                                                           |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|     

<Name>      |  

Symbol name                                                                                                                                                              |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|     

<Level>     |  

Scope level (see below)                                                                                                                                                  |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|     

<Block>     |  

Scope block (see below)                                                                                                                                                  |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|   

<TypeChain>   |  

Type chain record (see type record below)                                                                                                                                |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 

<Address Space> |  

Address space code (see table below)                                                                                                                                     |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|   

<On Stack>    |  

Is this symbol on the stack? Indicates if the next 
parameter is valid.                                                                                                  |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|     

<Stack>     |  

The stack Offsetorelative to the "bp" variable. (The 
libraries may have to be recompiled to include the -
-debug option for this variable to appear in the debug file). |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|      

<Reg>      |  

If the address space is 'R', this field indicates the 
register that the symbol is allocated. The register 
name is in its native form: R1, AX, etc.                     |
+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+


  <S><:>
{ G | F<Filename> | L { <function> | "--null--" }}
<$><Name>

  <$><Level>
<$><Block>
<(><TypeRecord><)>
<,><AddressSpace>

  <,><OnStack>
<,><Stack>
<,><[><Reg><,>{<Reg><,>}<]>

A symbol record is generated for each named symbol in 
the source file; this includes local, global and 
parameter symbols. 

Blocks and Levels

The level & block are used to further scope local 
variables since C allows unique definitions across 
different scope blocks. When using the symbol records, 
it is always important to include the level and block 
information as part of the identification. It is 
possible to have two symbols that share the same name, 
but have different scope information.

The linker address records contain not only the name of 
the symbol, but the Scope information as well, which is 
instrumental in determining the correct instantiation 
of the symbol.

Linker C line records also contain the Scope 
information (see below).

The following code fragment illustrates a simple scope example:

foo()

{

int c; /* block #1 , level #1 */

   {

      int c; /* block #2, level #2 */

      ...

   }

   {

      int c; /* block #3 , level #2 */

      ...

   }

}

+------+----------------------------------------------------------+
| 

A  | 

External stack                                         |
+------+----------------------------------------------------------+
| 

B  | 

Internal stack                                         |
+------+----------------------------------------------------------+
| 

C  | 

Code                                                   |
+------+----------------------------------------------------------+
| 

D  | 

Code / static segment                                  |
+------+----------------------------------------------------------+
| 

E  | 

Internal ram (lower 128) bytes                         |
+------+----------------------------------------------------------+
| 

F  | 

External ram                                           |
+------+----------------------------------------------------------+
| 

G  | 

Internal ram                                           |
+------+----------------------------------------------------------+
| 

H  | 

Bit addressable                                        |
+------+----------------------------------------------------------+
| 

I  | 

SFR space                                              |
+------+----------------------------------------------------------+
| 

J  | 

SBIT space                                             |
+------+----------------------------------------------------------+
| 

R  | 

Register space                                         |
+------+----------------------------------------------------------+
| 

Z  | 

Used for function records, or any undefined space code |
+------+----------------------------------------------------------+


4.4 Type Chain Record

  <{><Size><}> <DCLType> <,> {<DCLType> <,>} <:> <Sign>

+--------------+------------------------------------------------+
|  

<Size>    | 

The size of the item in decimal.             |
+--------------+------------------------------------------------+
| 

<DCLType>  | 

The type encoded using the table below.      |
+--------------+------------------------------------------------+
|  

<Sign>    | 

The sign of the item. Encoded as 'U' or 'S'. |
+--------------+------------------------------------------------+


Purpose

The C programming language allows arbitrarily complex 
type constructions. Because of this, the CDB file type 
designations are organized as a list of basic primitive types.

+--------------+----------------------------+
|  

DA <n>    | 

Array of n elements      |
+--------------+----------------------------+
|    

DF      | 

Function                 |
+--------------+----------------------------+
|    

DG      | 

Generic pointer          |
+--------------+----------------------------+
|    

DC      | 

Code pointer             |
+--------------+----------------------------+
|    

DX      | 

External ram pointer     |
+--------------+----------------------------+
|    

DD      | 

Internal ram pointer     |
+--------------+----------------------------+
|    

DP      | 

Paged pointer            |
+--------------+----------------------------+
|    

DI      | 

Upper 128 byte pointer   |
+--------------+----------------------------+

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合丝袜美腿| 99热在这里有精品免费| av成人老司机| 欧美大白屁股肥臀xxxxxx| 中文字幕一区二区三区不卡| 麻豆精品久久久| 精品视频在线免费看| 国产精品三级电影| 精品亚洲国产成人av制服丝袜| 91久久精品一区二区三| 欧美激情在线免费观看| 蜜桃在线一区二区三区| 欧美唯美清纯偷拍| 日韩美女视频一区| 欧美一区二区三区在线观看| 亚洲欧洲中文日韩久久av乱码| 国模冰冰炮一区二区| 日韩久久免费av| 免费在线观看视频一区| 欧美酷刑日本凌虐凌虐| 亚洲综合无码一区二区| 日本道在线观看一区二区| 亚洲欧美在线视频观看| 高清国产一区二区三区| 久久免费看少妇高潮| 黄色日韩网站视频| 精品国产91洋老外米糕| 久久99九九99精品| 久久亚洲影视婷婷| 国产精品综合在线视频| 久久婷婷综合激情| 国产成人激情av| 欧美激情一区二区在线| 成人高清av在线| 中文字幕欧美激情| 成人听书哪个软件好| 欧美国产一区二区| 成人高清视频免费观看| 亚洲欧洲综合另类| 欧美影片第一页| 日韩电影在线免费| 精品国产乱码久久久久久闺蜜| 久久精品国产精品亚洲红杏| 久久午夜羞羞影院免费观看| 岛国精品在线观看| 亚洲激情男女视频| 欧美精品丝袜久久久中文字幕| 免费观看久久久4p| 久久精品在线免费观看| 91色婷婷久久久久合中文| 亚洲永久免费视频| 日韩一级欧美一级| 国产精品系列在线观看| 亚洲蜜桃精久久久久久久| 欧美美女一区二区在线观看| 国产一区视频网站| 日韩理论片在线| 91精品久久久久久蜜臀| 国产精品羞羞答答xxdd| 亚洲制服欧美中文字幕中文字幕| 56国语精品自产拍在线观看| 国产精品一区专区| 一区二区在线电影| 精品人在线二区三区| fc2成人免费人成在线观看播放| 亚洲第一福利一区| 国产亚洲福利社区一区| 欧美日韩一级二级| 国产精品一区二区黑丝| 亚洲图片欧美色图| 久久精品一区二区三区不卡| 在线视频国内自拍亚洲视频| 精品一区精品二区高清| 一区二区三区免费| 欧美精品一区二区在线播放| 色综合色狠狠综合色| 久久成人免费网| 亚洲女性喷水在线观看一区| 欧美成人一区二区| 欧美性色aⅴ视频一区日韩精品| 国产一区二区电影| 午夜电影网一区| 中文字幕一区二区三中文字幕| 9191久久久久久久久久久| 91玉足脚交白嫩脚丫在线播放| 色综合一区二区| 精品一区二区三区不卡| 亚洲h在线观看| 亚洲日本欧美天堂| 亚洲国产高清aⅴ视频| 91精品国产美女浴室洗澡无遮挡| 91社区在线播放| 国产夫妻精品视频| 国产在线精品一区二区三区不卡| 亚洲成人av一区二区| 亚洲毛片av在线| 日本一区免费视频| 精品国产一区久久| 欧美一区二区网站| 欧美区一区二区三区| 91官网在线免费观看| 99久久国产免费看| av中文字幕亚洲| 国产99久久精品| 国产精品1区二区.| 国产精品一区二区三区乱码| 黄色成人免费在线| 精品亚洲免费视频| 韩国女主播成人在线观看| 久久99精品久久久久久久久久久久| 亚洲国产视频在线| 亚洲一区二区三区爽爽爽爽爽| 一区二区三区四区在线播放| 综合久久久久综合| 亚洲精品国产品国语在线app| 亚洲少妇中出一区| 亚洲乱码国产乱码精品精小说 | 精品理论电影在线| 日韩欧美美女一区二区三区| 欧美一区二区人人喊爽| 欧美成人r级一区二区三区| 欧美一级精品在线| 精品精品国产高清一毛片一天堂| 日韩久久久精品| 久久久久久久精| 中文字幕成人av| 亚洲日本在线看| 亚洲在线中文字幕| 蜜桃av噜噜一区| 国产一区二区电影| 91在线高清观看| 欧美日韩国产电影| 精品国产露脸精彩对白| 国产人久久人人人人爽| 亚洲色图欧美在线| 五月婷婷激情综合| 国产在线精品一区二区三区不卡| 国产99久久精品| 欧美三级欧美一级| 精品久久久久久综合日本欧美| 国产欧美1区2区3区| 亚洲精品欧美激情| 久草热8精品视频在线观看| 国产成人h网站| 在线观看视频一区二区| 日韩免费观看2025年上映的电影| 国产亚洲欧美日韩俺去了| 一区二区在线观看不卡| 精品在线你懂的| 99久久久久久99| 日韩亚洲欧美中文三级| 国产精品不卡在线| 男女性色大片免费观看一区二区| 国产aⅴ综合色| 欧美日韩中文字幕精品| 日本一区二区免费在线观看视频 | 久久久久久免费网| 亚洲欧美日韩久久| 经典三级视频一区| 欧洲精品中文字幕| 国产日韩欧美麻豆| 午夜亚洲国产au精品一区二区| 国产麻豆91精品| 宅男噜噜噜66一区二区66| 综合中文字幕亚洲| 国产揄拍国内精品对白| 欧美人与z0zoxxxx视频| 亚洲国产精品精华液2区45| 日本大胆欧美人术艺术动态 | 亚洲免费大片在线观看| 激情综合色综合久久| 欧美日韩视频一区二区| 国产精品成人网| 国产精品一级黄| 欧美一级午夜免费电影| 亚洲欧洲综合另类| 成人一区二区三区视频| 26uuu亚洲| 全国精品久久少妇| 欧美日韩精品高清| 亚洲网友自拍偷拍| 色综合天天综合网天天看片| 国产婷婷一区二区| 精品一区二区影视| 69久久99精品久久久久婷婷| 亚洲一区二区四区蜜桃| www.成人在线| 国产精品久久久久久久久免费丝袜| 国产在线精品一区二区不卡了| 欧美一区日本一区韩国一区| 洋洋av久久久久久久一区| 色婷婷综合久久久中文一区二区 | 日韩写真欧美这视频| 日韩精品亚洲专区| 欧美绝品在线观看成人午夜影视| 亚洲免费视频中文字幕| 一本久久精品一区二区| 亚洲卡通动漫在线| 欧美日韩一区中文字幕| 日韩国产欧美一区二区三区|