Backspace, tab, and Arrow key behavior in ./powerpc-eabivle-gdb.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Backspace, tab, and Arrow key behavior in ./powerpc-eabivle-gdb.

1,521 次查看
jordancyre
Contributor I

I'm able to get a GDB server running on my MPC5748G using the command: 

 

./pegdbserver_power_console -startserver -device=MPC5748G

 

Then I open the console using this command:

 

/powerpc-eabivle-gdb -ex 'target remote :7224' -ex 'set $pc = 0x40000000' -ex 'set $msr = 0x02000000'

 

 

Everything works fine however, in the gdb console, my backspace key now acts like the spacebar a space instead of deleting the character to the left of the cursor.  Also, the arrow and tab keys don't work either.

My current setup is a Kubuntu 21.04 VM running inside of a VMware Workstation on a Windows 10 install.

When I run the software in Windows, I have no issues but there are reasons I don't really want to go into as to why I have to run it in Linux, but it is necessary for me.

Has anyone ever run into this before?  Google has not been helping too much.

0 项奖励
回复
1 回复

1,172 次查看
juan_see
Contributor III

Hi jordancyre, 

It sounds like the issue is with the gdb console and not the gdb server from PEmicro. Do you have the same issue in bash? Can you try the suggestion from the following link?

https://gdb.sourceware.narkive.com/qlxE2n3i/backspace-problem-on

0 项奖励
回复