1. 11 Nov, 2015 4 commits
  2. 06 Nov, 2013 2 commits
  3. 23 Oct, 2013 1 commit
  4. 22 Oct, 2013 3 commits
    • Petr Machata's avatar
    • Petr Machata's avatar
      Replace os_get_ltrace_conf_filename with os_get_ltrace_conf_filenames · aa3db6b1
      Petr Machata authored
      - I.e. allow returning a list of filenames, as opposed to a single
        home directory name.  This is to implement exactly the legacy config
        file behavior on Linux.
      aa3db6b1
    • Petr Machata's avatar
      System calls are now part of dedicated symbol library · 82f748d1
      Petr Machata authored
      - This symbol library is still special in that symbols are created on
        demand and never actually added.  It just serves as a link to
        protolibrary with system call prototypes, and has a name (SYS).
      
      - Prototypes for system calls were moved to a dedicated prototype
        library called syscalls.conf.
      
      - Because it's undesirable to look up syscall prototypes in anything
        but the dedicated syscall protolib, prototype.c/.h now understand
        that some lookups shouldn't be done recursively (and so we never
        pick the definition from -F file that just happens to have the same
        name as a system call).  The good thing is that now libraries can
        actually use symbols named SYS_something without clashing with
        system call prototypes.
      
      - One test case needed to be updated, because we now display system
        calls as [email protected] instead of SYS_something.
      82f748d1
  5. 26 Sep, 2013 1 commit
  6. 18 Mar, 2013 1 commit
    • Petr Machata's avatar
      Fix exit before parsing options · f70812ec
      Petr Machata authored
      - The function destroy_global_config was called from normal_exit even
        if init_global_config hadn't been called before, such as when ltrace
        was run with no command line arguments.  This led to crashes.  We
        avoided similar crashes due to exit from init_global_config by
        calling _Exit instead.
      
      - Instead, schedule execution of destroy_global_config only after it
        is known that init_global_config was successful.  Replace the clumsy
        _Exit calls again by plain exit.
      f70812ec
  7. 08 Mar, 2013 12 commits