This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

proc_service.h as an installed header


glibc has received a request to turn proc_service.h into an installed header:

  https://sourceware.org/bugzilla/show_bug.cgi?id=20311

The request seems reasonable.

The only question is who owns this API. glibc is just a consumer here, and the traditional provider is GDB, so I GDB would be the natural

The API definitions seem to have drifted a bit, e.g.:

--- glibc/git/nptl_db/proc_service.h
+++ binutils-gdb/gdb/gdb_proc_service.h
…
-extern ps_err_e ps_pstop (const struct ps_prochandle *);
-extern ps_err_e ps_pcontinue (const struct ps_prochandle *);
+extern ps_err_e ps_pstop (struct ps_prochandle *);
+extern ps_err_e ps_pcontinue (struct ps_prochandle *);

Perhaps we should clean this up before making this a more public API?

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]