Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs

    Stop guessing, start certifying. Learn how to use IC safety application notes to streamline your FMEDA and meet IEC 61508 and ISO 13849 standards with...

    Places

    • ADI Academy
    • ADI Webinars
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs
    • Enabling New Space Missions: Commercial Space Screening Approach for Agile, High-Reliability Payloads
    • Understanding and Selecting RF Low Noise Amplifiers for Instrumentation, Phased Array and General Purpose Applications
    • Design Smarter with Compact, Low-Power Precision Current Source Signal Chains
    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    View All Webinars
  • Community Hub

    Challenge Yourself!

      World Engineering Day Quiz!

      A checkerboard made as a 7 x 7 matrix has a green basic cell placed in its middle as shown in the above structure. Questions: How many squares, defined...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: ISO 26262 Essentials: Ensuring Confidence in Your Software...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    The New Industrial Robotics Era: Why Innovation Is Compounding

    By Tracey Johnson & Margaret Naughton Imagine a robot stepping out of a safety cage, not to perform a single preprogrammed motion, but to work alongside...

     

    Reimagining Power for AI: Shaping the Future of AI Acceleration: Part 3 of 3

    It’s time to look at the next wave: vertical power delivery and the relentless Analog Devices (ADI) innovation that makes it possible. If you’ve joined...

    Latest Blogs

    • Driving Capacitive Loads Like A Pro: Part 3 of 3
    • Community Spotlight: Meet Akila
    • A Systematic Checklist for RF Transceiver Testing
    • Breaking the Link: Smart Feedback Techniques for Isolated SMPS Regulation: Part 4 of 4
    • Good Marketing Buzz, But How Do I Start?
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
Linux Distribution for Blackfin
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Linux Distribution for Blackfin
  • Processors & DSP
  • Software & Development Tools
  • Linux Distribution for Blackfin
  • Cancel
Linux Distribution for Blackfin
Documents [#5842] gdb.base/sigall.exp would fail when debug through serial port 1
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +2013R1 Linux release for Blackfin: FAQ
  • +2013R1: FAQ
  • +AD5700: FAQ
  • +ADI test script: FAQ
  • +bf537 SPI Bus: FAQ
  • +BF609: FAQ
  • +BF70x processor: FAQ
  • +bfin-elf-libstdc++-4.3: FAQ
  • +bfin-elf: FAQ
  • +bfin-uclinux-libstdc++-4.3: FAQ
  • +Blackfin Linux Projects: FAQ
  • +Blackinfin Linux: FAQ
  • +build toolchain: FAQ
  • +CPLB fault or SIGABRT: FAQ
  • +DAS U-BOOT FOR BLACKFIN: FAQ
  • +Default ADI release: FAQ
  • +Flash the uImage into Flash: FAQ
  • +gas test: FAQ
  • +gcc-4.3 ICEs: FAQ
  • +gcc.c-torture/execute/memset-2.c: FAQ
  • +gcc.dg/trampoline-1.c test: FAQ
  • +gcc/g++ test: FAQ
  • +gcc/g++ testcase: FAQ
  • +GDB commands: FAQ
  • -gdb.base/sigall.exp: FAQ
    • [#5842] gdb.base/sigall.exp would fail when debug through serial port 1
  • +gdb.cp/userdef.exp: FAQ
  • +gdb.gdbtk/c_variable.exp: FAQ
  • +GDB: FAQ
  • +gdb: symbol: FAQ
  • +gdbproxy: FAQ
  • +GNU TOOLCHAIN: FAQ
  • +How to load Linux: FAQ
  • +ldr-utils: FAQ
  • +libstdc++-4.3 21_strings/basic_string/capacity/char/18654.cc test: FAQ
  • +LOOP: FAQ
  • +mcpu: FAQ
  • +Parent Document for U-Boot Bug Archive: FAQ
  • +Parent Document for U-Boot Bug Forum Archive: FAQ
  • +Parent for all content moved from GNU Archive: FAQ
  • +prepare_target_solibs: FAQ
  • +SDP-B: FAQ
  • +signal 11: FAQ
  • +sim binutils: FAQ
  • +SPI eeprom: FAQ
  • +svn head u-boot build: FAQ
  • +test libmudflap: FAQ
  • +toolchain-regtest -r: FAQ
  • +toolchain-regtest: FAQ
  • +trunk head gdbproxy: FAQ
  • +trunk toolchain: FAQ
  • +u-boot with UART: FAQ
  • +u-boot: FAQ
  • +uClinux kernel: FAQ
  • +uClinux: FAQ
  • +Upgrade from 3801 to 3852: FAQ
  • +VDSP: FAQ

[#5842] gdb.base/sigall.exp would fail when debug through serial port 1

[#5842] gdb.base/sigall.exp would fail when debug through serial port 1

Submitted By: Mingquan Pan

Open Date

2010-01-21 05:11:46    

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

BF537     

Host Operating System:

toolchain rev.:

4.3.4 3771     kernel rev.:

State:

Open     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: gdb.base/sigall.exp would fail when debug through serial port 1

Details:

gdb.base/sigall.exp would fail when debug through serial port 1 /dev/ttyBF1, while if testing through ethernet port, it can be all passed.

PASS: gdb.base/sigall.exp: b gen_50

FAIL: gdb.base/sigall.exp: advance to 50

PASS: gdb.base/sigall.exp: handle SIG50 stop print

PASS: gdb.base/sigall.exp: b handle_50

PASS: gdb.base/sigall.exp: b gen_51

PASS: gdb.base/sigall.exp: send signal 50

FAIL: gdb.base/sigall.exp: advance to 51 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG51 stop print

PASS: gdb.base/sigall.exp: b handle_51

PASS: gdb.base/sigall.exp: b gen_52

PASS: gdb.base/sigall.exp: advance to 52

PASS: gdb.base/sigall.exp: handle SIG52 stop print

PASS: gdb.base/sigall.exp: b handle_52

PASS: gdb.base/sigall.exp: b gen_53

FAIL: gdb.base/sigall.exp: advance to 53 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG53 stop print

PASS: gdb.base/sigall.exp: b handle_53

PASS: gdb.base/sigall.exp: b gen_54

FAIL: gdb.base/sigall.exp: advance to 54 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG54 stop print

PASS: gdb.base/sigall.exp: b handle_54

PASS: gdb.base/sigall.exp: b gen_55

FAIL: gdb.base/sigall.exp: advance to 55 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG55 stop print

PASS: gdb.base/sigall.exp: b handle_55

PASS: gdb.base/sigall.exp: b gen_56

FAIL: gdb.base/sigall.exp: advance to 56 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG56 stop print

PASS: gdb.base/sigall.exp: b handle_56

PASS: gdb.base/sigall.exp: b gen_57

FAIL: gdb.base/sigall.exp: advance to 57 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG57 stop print

PASS: gdb.base/sigall.exp: b handle_57

PASS: gdb.base/sigall.exp: b gen_58

FAIL: gdb.base/sigall.exp: advance to 58 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG58 stop print

PASS: gdb.base/sigall.exp: b handle_58

PASS: gdb.base/sigall.exp: b gen_59

FAIL: gdb.base/sigall.exp: advance to 59 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG59 stop print

PASS: gdb.base/sigall.exp: b handle_59

PASS: gdb.base/sigall.exp: b gen_60

FAIL: gdb.base/sigall.exp: advance to 60 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG60 stop print

PASS: gdb.base/sigall.exp: b handle_60

PASS: gdb.base/sigall.exp: b gen_61

FAIL: gdb.base/sigall.exp: advance to 61 (eof or timeout)

FAIL: gdb.base/sigall.exp: handle SIG61 stop print

FAIL: gdb.base/sigall.exp: b handle_61

PASS: gdb.base/sigall.exp: b gen_62

FAIL: gdb.base/sigall.exp: advance to 62

FAIL: gdb.base/sigall.exp: handle SIG62 stop print (timeout)

PASS: gdb.base/sigall.exp: b handle_62

PASS: gdb.base/sigall.exp: b gen_63

FAIL: gdb.base/sigall.exp: advance to 63

FAIL: gdb.base/sigall.exp: handle SIG63 stop print (timeout)

PASS: gdb.base/sigall.exp: b handle_63

PASS: gdb.base/sigall.exp: b gen_TERM

FAIL: gdb.base/sigall.exp: advance to TERM

FAIL: gdb.base/sigall.exp: handle SIGTERM stop print (timeout)

PASS: gdb.base/sigall.exp: b handle_TERM

FAIL: gdb.base/sigall.exp: get signal TERM (timeout)

FAIL: gdb.base/sigall.exp: send signal TERM (timeout)

FAIL: gdb.base/sigall.exp: continue until exit at continue to sigall exit (timeout)

                === gdb Summary ===

# of expected passes            344

# of unexpected failures        22

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gdb version  6.6 -nx -b 57600

the bfin-uclinux.exp for serial port debug is:

# Board definition file for board "bfin-uclinux"

load_generic_config "gdbserver"

# multilib_flags should be set to a proper -mcpu= option when

# testing on hardware.

set_board_info multilib_flags ""

set_board_info compiler  "[find_gcc]"

# -s80000 is for gcc.dg/dg.exp/trampoline-1.c

set_board_info ldflags "-Wl,-elf2flt=-s80000";

set_board_info rsh_prog rsh

set_board_info rcp_prog rcp

set_board_info stty_prog stty

set_board_info protocol standard

set_board_info username root

set_board_info use_gdb_stub 1

set_board_info noargs 1

set_board_info use_binfmt_flat 1

set_board_info use_serial_debug 1

set_board_info baud "57600"

set_board_info gdb_protocol "remote"

set_board_info gdbserver_serial /dev/ttyBF1

set_board_info gdb_serial /dev/ttyUSB0

# Path to the gdbserver executable, if required.

set_board_info gdb_server_prog "gdbserver"

set_board_info gcc,no_trampolines 1

# Advertise slightly less than we actually have since a few testcases

# really push the limit.

set_board_info gcc,stack_size 75000

set_board_info gdb,socketport ""

set_board_info sockethost /dev/ttyUSB0

set GDBFLAGS "-nx -b 57600"

set_board_info gdb,do_reload_on_run 1

set_board_info gdb,noinferiorio 1

set_board_info gdb,nofileio 1

set_board_info gdb,no_hardware_watchpoints 1

set_board_info gdb,skip_huge_test 1

# BuildToolchain will append hostname

# set_board_info hostname 192.168.0.110

# set_board_info sockethost 192.168.0.110:

set_board_info hostname 10.100.4.50

#set_board_info sockethost 10.100.4.50:

~

There would be need modify gdbserver.exp little which I will check in later.

The whole detailed log is attached.

Follow-ups

--- Mingquan Pan                                             2010-01-22 05:02:26

If change the serial port from dma mode to pio mode, then it could be more

passes, and remain 3 fails, like:

test@linux-u1ri:~/temp0113/regtest_build41/binutils_build/gdb-test> runtest

--tool gdb --all sigall.exp

Test Run By test on Fri Jan 22 17:34:50 2010

Target is bfin-unknown-uclinux

Host   is i686-pc-linux-gnu

                === gdb tests ===

Schedule of variations:

    bfin-uclinux

Running target bfin-uclinux

Using /home/test/temp0113/regtest_build41/boards/bfin-uclinux.exp as board

description file for target.

Using

/home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/config/gdbserver.exp

as tool-and-target-specific interface file.

Running

/home/test/work/cruise/checkouts/toolchain/binutils-2.17/gdb/testsuite/gdb.base/sigall.exp

...

PASS: gdb.base/sigall.exp: handle SIGABRT stop print

PASS: gdb.base/sigall.exp: b handle_ABRT

PASS: gdb.base/sigall.exp: b gen_HUP

PASS: gdb.base/sigall.exp: get signal ABRT

PASS: gdb.base/sigall.exp: send signal ABRT

PASS: gdb.base/sigall.exp: advance to HUP

PASS: gdb.base/sigall.exp: handle SIGHUP stop print

PASS: gdb.base/sigall.exp: b handle_HUP

PASS: gdb.base/sigall.exp: b gen_QUIT

...

PASS: gdb.base/sigall.exp: advance to USR2

PASS: gdb.base/sigall.exp: handle SIGUSR2 stop print

PASS: gdb.base/sigall.exp: b handle_USR2

PASS: gdb.base/sigall.exp: b gen_PWR

PASS: gdb.base/sigall.exp: get signal USR2

PASS: gdb.base/sigall.exp: send signal USR2

FAIL: gdb.base/sigall.exp: advance to PWR (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIGPWR stop print

...

PASS: gdb.base/sigall.exp: b gen_58

PASS: gdb.base/sigall.exp: send signal 57

FAIL: gdb.base/sigall.exp: advance to 58 (eof or timeout)

PASS: gdb.base/sigall.exp: handle SIG58 stop print

PASS: gdb.base/sigall.exp: b handle_58

PASS: gdb.base/sigall.exp: b gen_59

PASS: gdb.base/sigall.exp: send signal 58

PASS: gdb.base/sigall.exp: advance to 59

PASS: gdb.base/sigall.exp: handle SIG59 stop print

PASS: gdb.base/sigall.exp: b handle_59

PASS: gdb.base/sigall.exp: b gen_60

PASS: gdb.base/sigall.exp: send signal 59

PASS: gdb.base/sigall.exp: advance to 60

PASS: gdb.base/sigall.exp: handle SIG60 stop print

PASS: gdb.base/sigall.exp: b handle_60

PASS: gdb.base/sigall.exp: b gen_61

PASS: gdb.base/sigall.exp: send signal 60

PASS: gdb.base/sigall.exp: advance to 61

PASS: gdb.base/sigall.exp: handle SIG61 stop print

PASS: gdb.base/sigall.exp: b handle_61

PASS: gdb.base/sigall.exp: b gen_62

PASS: gdb.base/sigall.exp: send signal 61

PASS: gdb.base/sigall.exp: advance to 62

PASS: gdb.base/sigall.exp: handle SIG62 stop print

PASS: gdb.base/sigall.exp: b handle_62

PASS: gdb.base/sigall.exp: b gen_63

PASS: gdb.base/sigall.exp: send signal 62

PASS: gdb.base/sigall.exp: advance to 63

PASS: gdb.base/sigall.exp: handle SIG63 stop print

PASS: gdb.base/sigall.exp: b handle_63

PASS: gdb.base/sigall.exp: b gen_TERM

PASS: gdb.base/sigall.exp: send signal 63

PASS: gdb.base/sigall.exp: advance to TERM

PASS: gdb.base/sigall.exp: handle SIGTERM stop print

PASS: gdb.base/sigall.exp: b handle_TERM

PASS: gdb.base/sigall.exp: get signal TERM

PASS: gdb.base/sigall.exp: send signal TERM

FAIL: gdb.base/sigall.exp: continue until exit at continue to sigall exit

(timeout)

                === gdb Summary ===

# of expected passes            376

# of unexpected failures        3

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gdb version  6.6 -nx -b 57600

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

gdb.sum    application/octet-stream    16443    Mingquan Pan

gdb.log    text/x-log    115354    Mingquan Pan

Attachments:
gdb.log.zip
gdb.sum.zip
  • Share
  • History
  • More
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved