Unlock instant, AI-driven research and patent intelligence for your innovation.

Embedded program run symbol table generation method and apparatus

A technology of program operation and symbol table, applied in the direction of program control devices, etc., can solve the problem of low efficiency of symbol table generation, and achieve the effect of alleviating the low generation efficiency

Inactive Publication Date: 2016-06-22
MAIPU COMM TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for generating an embedded program running symbol table, which alleviates the problem of low symbol table generation efficiency caused by the use of secondary links during the generation of the embedded program running symbol table

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded program run symbol table generation method and apparatus
  • Embedded program run symbol table generation method and apparatus
  • Embedded program run symbol table generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0024] An embodiment of the present invention provides a method for generating an embedded program running symbol table, and this method is applied and executed in an embedded operating system, such as figure 1 As shown, the method includes:

[0025] 101. Obtain symbol information from the embedded object file.

[0026] Among them, the symbol information includes at least: the relative address of the symbol in the segment, symbol name, and s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for generating an embedded program running symbol table, relating to the field of embedded software applications, and in the process of generating the embedded program running symbol table, the low generation efficiency of the symbol table caused by the use of secondary links is alleviated The problem. The specific embodiment provided by the present invention includes: obtaining symbol information from the embedded target file, and generating a symbol table source file according to the symbol information, and then compiling this symbol table source file into a symbol table target file, and then compiling the embedded program target file The file is linked with the symbol table object file to generate the embedded program running symbol table. The technical solution provided by the embodiment of the present invention is mainly applied in the process of generating the running symbol table of the embedded program.

Description

Technical field [0001] The invention relates to the application field of embedded software, in particular to a method and device for generating an embedded program running symbol table. Background technique [0002] With the increase of network system complexity, the on-site debug ability of equipment in the network system becomes more and more important, and the symbol table is an important technology for on-site debugging of equipment. By running the symbol table information through the embedded program, the debugger can use the name to perform function call operations, view the information of global variables, print the call stack of the process, and other information, so as to obtain the operating status of the device, thereby allowing the debugger to locate the device faster The reason for the problem. [0003] From the above description, in the debugging process of the device, the function of the embedded program running symbol table is significant, which requires generating...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 陈小松
Owner MAIPU COMM TECH CO LTD