Piotr Jaroszyński: Usermode debugging under Linux

Week 3 [ 7 Jun - 13 Jun 2010 ]

Getting rid of the stdlib dep

I have finished the stdlib-free implementation. It's available on the linux branch. Most of the new stuff is in these commits:

  • [linux] Add linuxprefix
  • [linux] Add linux_syscall
  • [linux] Add most of the linux api
  • [linux] Add linux_realloc

I have also done some refactoring along the way, most notably the command line argument handling has been changed to not require any core/main.c changes.

  • [linux] Add command line arguments for network setup

The implementation linking to stdlib has been moved to a separate linuxlibc PLATFORM and is now on its own linuxlibc branch.

Details of the implementation will follow in the notes soon.

Milestone reached

Josh did a thorough review of the codebase (thanks again!), which resulted in all kinds of changes including asm style, some refactoring and also two bigger new things:

  • [linux] Add linux platform skeleton - simple linker scripts for the libc-free linux platform
  • [linux] Add console - proper console support

Details coming to notes.

With the issues resolved Josh said pretty much everything essential is done and hence the project is ready for a wider audience. Thus a call for feedback was sent to -devel.

QR Code
QR Code soc:2010:peper:journal:week3 (generated for current page)