aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
AgeCommit message (Collapse)AuthorFilesLines
2000-06-19 * defs.h: define language_pascal in language enumeration. Pierre Muller1-1/+2
* language.h: define _LANG_pascal macro. * language.c: add language_pascal support in all language dependant functions.
2000-06-07Purge last remaining make_cleanup_func.Andrew Cagney1-7/+0
2000-06-04Add host_pointer_to_address() and address_to_host_pointer(). AddAndrew Cagney1-0/+3
signed_pointer_to_address() etc. Rename generic_pointer_to_address() to unsigned_pointer_to_address() etc.
2000-06-04Eliminate safe_strsignal().Andrew Cagney1-5/+0
2000-06-02Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,Andrew Cagney1-15/+0
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
2000-05-23Add make_cleanup_close() function.Andrew Cagney1-0/+2
2000-05-22Replace preg() with phex(). Cleanup monitor.c.Andrew Cagney1-3/+2
2000-05-16Cleanup bfd_close() cleanups.Andrew Cagney1-0/+2
2000-05-15Move core_addr_lessthan and core_addr_greaterthan to arch-utils.Andrew Cagney1-4/+0
2000-05-02re-do how gdbarch provides non-multi arch defaults so that non-Andrew Cagney1-0/+6
multi-arch gdbservers can continue to compile.
2000-05-01From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney1-2/+2
Properly check for GCC version number.
2000-04-21* defs.h, utils.c (free_current_contents): Change parameter toAndrew Cagney1-1/+1
void*. From Philippe De Muyter <phdm@macqel.be>: * printcmd.c (print_address_symbolic): Call `make_cleanup' with `(free_current_contents, &x)', not `(free, x)'. * utils.c (free_current_contents): Do not `free (NULL)'. * printcmd.c (print_address_symbolic): Cleanup after a failed call to build_address_symbolic.
2000-04-14* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two newJim Blandy1-0/+4
functions which architectures can redefine, defaulting to generic_pointer_to_address and generic_address_to_pointer. * findvar.c (extract_typed_address, store_typed_address, generic_pointer_to_address, generic_address_to_pointer): New functions. (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default definitions. (extract_address, store_address): Doc fixes. * values.c (value_as_pointer): Doc fix. (value_from_pointer): New function. * defs.h (extract_typed_address, store_typed_address): New declarations. * inferior.h (generic_address_to_pointer, generic_pointer_to_address): New declarations. * value.h (value_from_pointer): New declaration. * ax-gdb.c (const_var_ref): Use value_from_pointer, not value_from_longest. * blockframe.c (generic_push_dummy_frame): Use read_pc and read_sp, not read_register. * c-valprint.c (c_val_print): Use extract_typed_address instead of extract_address to extract vtable entries and references. * cp-valprint.c (cp_print_value_fields): Use value_from_pointer instead of value_from_longest to extract the vtable's address. * eval.c (evaluate_subexp_standard): Use value_from_pointer instead of value_from_longest to compute `this', and for doing pointer-to-member dereferencing. * findvar.c (read_register): Use extract_unsigned_integer, not extract_address. (read_var_value): Use store_typed_address instead of store_address for building label values. (locate_var_value): Use value_from_pointer instead of value_from_longest. * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer, instead of value_from_longest, to build arguments to __d_shl_get. * printcmd.c (set_next_address): Use value_from_pointer, not value_from_longest. (x_command): Use value_from_pointer, not value_from_longest. * tracepoint.c (set_traceframe_context): Use value_from_pointer, not value_from_longest. * valarith.c (value_add, value_sub): Use value_from_pointer, not value_from_longest. * valops.c (find_function_in_inferior, value_coerce_array, value_coerce_function, value_addr, hand_function_call): Same. * value.h (COERCE_REF): Use unpack_pointer, not unpack_long. * values.c (unpack_long): Use extract_typed_address to produce addresses from pointers and references, not extract_address. (value_from_longest): Use store_typed_address instead of store_address to produce pointer and reference values.
2000-03-302000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-1/+5
* defs.h (struct continuation_arg): make 'data' a union, to avoid casting problems when int and pointer are not the same size. * event-top.c (command_handler): use data as a union. (command_line_handler_continuation): ditto. * infcmd.c (step_1_continuation): use data as a union. Re-indent. (step_once): ditto. (finish_command_continuation): ditto. (finish_command): ditto. * breakpoint.c (until_break_command): use data as a union. (until_break_command_continuation): ditto. * utils.c (add_intermediate_continuation): fix typo in comment.
2000-03-14Almost, but not quite, deprecate STREQ, STREQN, STRCMP and QUIT.Andrew Cagney1-2/+24
2000-03-13Revert: ``Fix C++ overload support, see through references''.Andrew Cagney1-12/+11
Change also contained numerous white-space changes.
2000-03-10Fix C++ overload support, see through referencesDaniel Berlin1-11/+12
2000-03-04Make mmalloc functions consistent. Some need ISO-C others need PTR :-(.Andrew Cagney1-1/+4
2000-03-04Oops, lost update to defs.h:null_cleanup().Andrew Cagney1-1/+1
2000-03-04Convert extract/store functions to ISO-C.Andrew Cagney1-3/+3
2000-03-04Convert make_cleanup functions to ISO-C.Andrew Cagney1-6/+18
2000-03-032000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+1
* defs.h (struct continuation_arg): Change type of field 'data' from PTR to void *. * event-loop.h: Eliminate uses of PTR, use 'void *' instead. * event-top.c: Ditto.
2000-02-24 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.Nicholas Duffek1-5/+8
(error_return, quit_return): Merge into catch_return pointer. (return_to_top_level): Update comment. Longjmp to *catch_errors, and communicate reason to catch_errors via setjmp return value. (catch_errors): Always catch both quit and error, and if a catch wasn't requested by caller, throw it to the next catch_error. Replace dual longjmp buffer memcpy with single pointer change. Add FIXME for possibly adding new interface to tell caller what event was caught. Add extensive comments. * defs.h (enum return_reason): Reserve 0 for use as initial setjmp() return value. (RETURN_MASK): New public macro to generate RETURN_MASK_* from enum return_reason. (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-0/+10
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
2000-02-10 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson andJim Kingdon1-0/+1
approved by Michael Snyder.
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-0/+8
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+7
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-33/+30
2000-02-01import gdb-2000-01-31 snapshotJason Molenda1-75/+1
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-0/+1
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-0/+5
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-1/+3
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-0/+33
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-0/+12
1999-11-17import gdb-1999-11-16 snapshotJason Molenda1-5/+27
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-5/+25
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-388/+388
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-0/+5
1999-09-28import gdb-1999-09-28 snapshotJason Molenda1-18/+8
1999-09-22import gdb-1999-09-21Jason Molenda1-2/+3
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-2/+3
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-59/+57
1999-08-23import gdb-1999-08-23 snapshotJason Molenda1-3/+22
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-1/+0
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-7/+17
1999-07-12import gdb-1999-07-12 snapshotJason Molenda1-1/+5
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-14/+14
1999-07-07import gdb-1999-07-07 pre reformatJason Molenda1-0/+2
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-1/+38
1999-06-14import gdb-1999-06-14 snapshotJason Molenda1-2/+22