mirror of https://github.com/pragma-/pbot.git
Compare commits
2 Commits
e4cb6ceff6
...
8e3652bc8e
Author | SHA1 | Date |
---|---|---|
Pragmatic Software | 8e3652bc8e | |
Pragmatic Software | ddeeb5da0f |
|
@ -87,7 +87,8 @@ __attribute__ (( constructor )) static void printf_binary_register(void)
|
|||
register_printf_specifier('b', printf_binary_handler, printf_binary_arginfo);
|
||||
}
|
||||
|
||||
void gdb(char *cmd) { __asm__(""); }
|
||||
__attribute__((optnone))
|
||||
void gdb(char *cmd) { __asm__ volatile ("" : "+r" (cmd)); }
|
||||
#define dump(...) gdb("print " #__VA_ARGS__)
|
||||
#define print(...) gdb("print " #__VA_ARGS__)
|
||||
#define ptype(...) gdb("ptype " #__VA_ARGS__)
|
||||
|
|
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
|||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4749,
|
||||
BUILD_DATE => "2024-04-12",
|
||||
BUILD_REVISION => 4751,
|
||||
BUILD_DATE => "2024-04-17",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
|
Loading…
Reference in New Issue