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

Method, device and program modulation system for establishing and searching overlay symbol table

A technology for establishing methods and symbol tables, which is applied in software testing/debugging, instruments, electrical digital data processing, etc., can solve problems such as display symbol errors, and achieve the effect of avoiding debugging errors

Active Publication Date: 2016-01-27
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of this, the embodiment of the present invention provides a method for establishing an overlay symbol table to solve the problem in the prior art that when a multi-core processor is used for overlay debugging, a symbol error is displayed when obtaining a block

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
  • Method, device and program modulation system for establishing and searching overlay symbol table
  • Method, device and program modulation system for establishing and searching overlay symbol table
  • Method, device and program modulation system for establishing and searching overlay symbol table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0063] In order to solve the problem of debugging errors in the prior art when using the overlay mode for program debugging in a multi-core environment, this embodiment provides a method for establishing an overlay symbol table, as shown in figure 1 shown, including:

[0064] S11. Establishing an address relationship table of the virtual memory VMA of the overlay code segment and the load memory LMA, the address relationship table includes a ternary relationship of...

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

Disclosed are an overlay symbol table establishing and searching method and device, and a program modulation system. The overlay symbol table establishing method comprises: establishing an address relationship table of a VMA and an LMA, the address relationship table comprising a core identity; determining whether mapping is correct, this determination step comprising determining whether core information corresponding to an image of a global code section corresponding to a code section matches the core identity in the address relationship table; and establishing a blockvector block list, the blockvector block list comprising a blockvector core identity. In this application, during program debugging, the corresponding block information and corresponding symtable_and_line information can be searched for according to the core identity, so that after establishing of a blockvector list, correct symbols can be displayed while the block is acquired, thereby avoiding the debugging error caused by debugging the program the in an overlay manner in a multi-core environment.

Description

technical field [0001] The invention relates to the field of program development, more specifically, to a method, device and program modulation system for establishing and searching an overlay symbol table. Background technique [0002] GDB (GNUDebugger, open source organization debugger) is a powerful program debugging tool under UNIX released by open source organizations. The debugger can customize the running mode of the program or instruction; the debugged program or instruction can be stopped at the set breakpoint, so that the debugger can detect the running process of the program or instruction. [0003] GDB includes a user interface, a symbol table processing module, and a control module; its operation process is that the debugger inputs commands through the interactive interface, and after the commands and symbols are parsed, they are processed by the control module and converted into RSP protocol commands to the target end; the target end After parsing the RSP prot...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/362
Inventor 卓玉樟崔世强
Owner HUAWEI TECH CO LTD