Check patentability & draft patents in minutes with Patsnap Eureka AI!

Many-core architecture-oriented gdb debugger automatic test technology

An automatic test and debugger technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve the problems of speeding up the development progress of debugger, poor test effect, low efficiency, etc. Simple, long-lasting results

Active Publication Date: 2021-03-23
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The object of the present invention is to provide a kind of gdb debugger automatic test technology facing many-core architecture, this automatic test technology has solved the problem that existing test method consumes more, inefficiency, and test effect is poor, for discovering the sporadic problem of gdb debugger Errors and speeding up the development of the debugger have a good effect

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
  • Many-core architecture-oriented gdb debugger automatic test technology
  • Many-core architecture-oriented gdb debugger automatic test technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0021] Embodiment: a kind of gdb debugger automatic testing technology for many-core architecture, referring to the attached Figure 1~2 , based on heterogeneous many-core processors, comprising the following steps:

[0022] S1: Deploy the test program and gdbinit file. According to the function that the debugger needs to test, the user adds several test programs in the test directory created in advance, and configures the corresponding gdbinit file for each test program, and sets the program in the gdbinit file. Run the required parameters and basic debugging commands;

[0023] Here, the test program is a program written by the user according to the debugger function to be tested;

[0024] Wherein, the parameters set in the gdbinit file include program operation scale, shared segment size, private segment size, stack space size, etc.;

[0025] Wherein, the basic debugging commands set in the gdbinit file include stepping, executing, setting breakpoints, switching threads, v...

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 many-core architecture-oriented gdb debugger automatic test technology. Based on a heterogeneous many-core processor, the technology comprises the following steps: S1, deploying a test program and a gdbinit file; S2, starting an automatic test script, traversing all test programs under the test directory by the automatic test script, and recording a real-time running state of the debugger into a debugging log; S3, when the test script runs, starting a background program, monitoring the running time of the test program, comparing the recorded running time of the test program with a set time threshold, if the running time of the test program is less than or equal to the time threshold, continuing to execute the next test program, and if the running time of the testprogram is greater than the time threshold, judging that the test program is hooked; S4, outputting debugging logs. According to the invention, the problem of long-time stagnation of the debugger caused by the fact that a test program is hooked in the test process of the gdb debugger is solved, the operation is simple and convenient, the consumed manpower and hardware resources are less, the efficiency is higher, and the stability is good.

Description

technical field [0001] The invention belongs to the technical field of optimization of heterogeneous many-core processors, and in particular relates to an automatic testing technology of a gdb debugger oriented to many-core architecture. Background technique [0002] While the heterogeneous many-core processor has become the mainstream architecture of high-performance computing, which provides convenience for the fast running of parallel programs, it also puts forward higher requirements for the debugging support of heterogeneous many-core programs. However, due to the complex structure of many-core processors, and as the scale of parallel programs becomes larger and more complex, the gdb debugger often produces some unexpected problems during use, and some occasional errors often It takes a lot of manpower and time to find out, which makes the gdb function test on many-core processors face severe challenges. [0003] At present, most of the function tests of the gdb debugg...

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): G06F11/36
CPCG06F11/3688G06F11/3636G06F11/3644
Inventor 宋佳伟刘勇王敬宇陈华蓉冯赟龙彭达佳孙川罗威张威梁艳
Owner JIANGNAN INST OF COMPUTING TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More