Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

.gdbinit 10 years 5 months ago #4651

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
Hi.

I am used to work with Intel assembler, FPC defaults to AT&T,

so I did write -ex "set disassembly-flavor intel" into CT Environment options at page TOOLS >> Options >> Debugger >> Debugger_Startup_Options

Well, It works ! OK ! BUT I found out that is very anoying stuff, because each time I run my application a popup box apears and tells me debugger settings changed, waiting on me to press OK button (side effect = waste of time)

so I made investigations and I saw it is possible to embed my setting into a .gdbinit (or gdb.ini file on windows)

after several attempts on windows seven, I put that file into my app EXE directory, I put that file in my 'user/home' directory, I put that file in gdb bin's directory, I tried both names (.gdbinit and gdb.ini) , NOTHING WORKED , gdb starts up inconsistantly with AT&T assembler mnemonic grrrrr

Does anyone have a clue on where to store that ini file for Typhon's gdb to take it in acount without poping up an anoying box ?

TY

Please Log in or Create an account to join the conversation.

Last edit: by gulyone.
  • Page:
  • 1