Kevin Buettner
e3bddbfa39
* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
...
test. (Thanks to Daniel Jacobowitz.)
2002-07-31 19:08:46 +00:00
Kevin Buettner
28d169dec8
* mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
...
(mips_abi_strings): Add "n64".
(mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case.
2002-07-31 18:13:24 +00:00
Kevin Buettner
7fe7e44e2c
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
...
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
2002-07-31 17:22:06 +00:00
Kevin Buettner
c6caf09098
* utils.c (host_pointer_to_address, address_to_host_pointer):
...
Use gdb_assert() instead of explicit call to internal_error().
2002-07-31 17:01:01 +00:00
gdbadmin
1c98fc19fd
*** empty log message ***
2002-07-31 00:00:03 +00:00
Kevin Buettner
c41669e09a
Configury changes to enable recently added AIX thread support.
2002-07-30 19:59:06 +00:00
Daniel Jacobowitz
2fda49774f
* ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
...
(ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
(fetch_core_registers, ppc_linux_supply_gregset)
(ppc_linux_supply_fpregset): New functions.
(ppc_linux_regset_core_fns): New.
(_initialize_ppc_linux_tdep): Call add_core_fns.
* ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
and ppc_linux_supply_gregset.
* ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
(supply_fpregset): Call ppc_linux_supply_fpregset.
* config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
corelow.o.
* config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
2002-07-30 19:03:49 +00:00
Kevin Buettner
3e000b1880
* gdb.base/shlib-call.exp (additional_flags): Conditionally
...
set Irix-specific compile and link flags.
2002-07-30 18:51:23 +00:00
Daniel Jacobowitz
729051e6cb
* symtab.c (lookup_symbol): Demangle before lowercasing.
2002-07-30 15:42:07 +00:00
Andrew Cagney
5f8a318830
2002-07-30 Andrew Cagney <ac131313@redhat.com>
...
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 13:45:15 +00:00
Jim Blandy
67f0714670
Patch from David Carlton <carlton@math.stanford.edu>:
...
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.
2002-07-30 07:01:23 +00:00
gdbadmin
65844fe753
*** empty log message ***
2002-07-30 00:00:33 +00:00
Kevin Buettner
28f4966bbb
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
...
source files. The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.
2002-07-29 23:35:56 +00:00
Andrew Cagney
04ea0df192
2002-07-29 Andrew Cagney <ac131313@redhat.com>
...
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-29 22:55:26 +00:00
Andrew Cagney
d138e37abc
2002-07-25 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (struct regcache_descr): Rename nr_registers to
nr_cooked_registers. Revise comments describing the structure
member fields.
(init_regcache_descr): Update.
(init_legacy_regcache_descr): Update.
(read_register_gen, write_register_gen): When a cooked register in
the raw register range, directly access the value from the raw
register cache.
2002-07-29 19:54:42 +00:00
Andrew Cagney
460e6ec384
2002-07-26 Andrew Cagney <ac131313@redhat.com>
...
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-29 16:34:07 +00:00
gdbadmin
05229f7766
*** empty log message ***
2002-07-29 00:00:02 +00:00
gdbadmin
ba6e3f660f
*** empty log message ***
2002-07-28 00:00:02 +00:00
Kevin Buettner
790c9cf039
* utils.c (host_pointer_to_address, address_to_host_pointer):
...
Change internal_error() message to indicate function responsible
for the error.
2002-07-27 02:03:45 +00:00
Kevin Buettner
9647fa4995
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
...
calls to local_hex_string_custom().
2002-07-27 01:54:15 +00:00
Kevin Buettner
313fb2f63c
Configury changes for IRIX shared library support and IRIX OSABI support.
2002-07-27 01:41:15 +00:00
Kevin Buettner
b96d0a4e19
Add Irix osabi support.
2002-07-27 01:28:43 +00:00
Kevin Buettner
dabbe2c0bd
* irix5-nat.c: Move IRIX shared library support from here...
...
* solib-irix.c: ...to here. Revised substantially to work with
generic solib framework.
2002-07-27 01:05:07 +00:00
Kevin Buettner
177e476850
Fix formatting problem in most recent entry.
2002-07-27 00:10:11 +00:00
Kevin Buettner
ab2eaf26c3
Delete disabled code.
2002-07-27 00:06:19 +00:00
gdbadmin
cdbd1c9a18
*** empty log message ***
2002-07-27 00:00:02 +00:00
Kevin Buettner
7244546aa3
Add fpscr support to aix-thread.c and rs6000-nat.c.
2002-07-26 23:15:52 +00:00
Kevin Buettner
0e061eef8d
* aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
...
(fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64)
(fill_sprs32, store_regs_user_thread, store_regs_kernel_thread):
Add support for the fpscr register.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Likewise.
2002-07-26 23:12:59 +00:00
Kevin Buettner
dd7be90a81
Eliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.
2002-07-26 22:26:44 +00:00
Kevin Buettner
d959a6abc7
Revise comment from previous commit.
2002-07-26 00:47:45 +00:00
Kevin Buettner
11bf77dbb5
* rs6000-nat.c (ppc-tdep.h): Include.
...
(fetch_registers, store_register): Don't access registers[]
directly. Instead, use supply_register() or
regcache_collect() as appropriate.
(find_toc_address): Format hex address with local_hex_string().
2002-07-26 00:43:30 +00:00
gdbadmin
0421046897
*** empty log message ***
2002-07-26 00:00:02 +00:00
Andrew Cagney
06afebeb2f
2002-07-25 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
bfd/elf32-frv.c.
2002-07-25 13:57:57 +00:00
Tom Tromey
8c554d79d1
* jv-exp.y: Marked all strings with _().
...
(ClassInstanceCreationExpression, ArrayCreationExpression): Use
internal_error.
(MethodInvocation, CastExpression, parse_number, yyerror,
java_type_from_name, push_expression_name, yylex): Typo fixes.
2002-07-25 04:33:24 +00:00
Daniel Jacobowitz
e4c242d9b0
* ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
...
(tee_file_flush, tee_file_write, tee_file_fputs)
(tee_file_isatty): New.
* ui-file.h (tee_file_new): Add prototype.
2002-07-25 03:14:28 +00:00
Aidan Skinner
ebf56fd3b8
* ada-lang.c: Change k&r style function definitions to prototyped
...
form.
* ada-typeprint.c: Change k&r style function definitions to prototyped
form.
* ada-valprint.c: Change k&r style function definitions to prototyped
form.
2002-07-25 01:14:26 +00:00
gdbadmin
46ba8ff86e
*** empty log message ***
2002-07-25 00:00:02 +00:00
Andrew Cagney
7fb623f7ad
Obsolete m88k.
2002-07-24 23:51:36 +00:00
Andrew Cagney
37611a2b10
2002-07-24 Andrew Cagney <cagney@redhat.com>
...
* findvar.c (extract_unsigned_integer): Make `addr' parameter
constant. Same for local pointer variables.
(extract_signed_integer): Ditto.
* defs.h (extract_unsigned_integer): Update.
(extract_signed_integer): Update.
2002-07-24 22:46:48 +00:00
Kevin Buettner
18ff05380b
* gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
...
* gdbserver/configure: Regenerate.
* gdbserver/config.in: Regenerate.
2002-07-24 21:30:46 +00:00
Andrew Cagney
1aaa5f999f
2002-07-24 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (regcache_raw_write): Change buf parameter to a
constant void pointer.
(regcache_raw_read): Change buf parameter to a void pointer.
(legacy_write_register_gen): Change myaddr parameter a constant
void pointer.
(supply_register): Change val parameter to a const void pointer.
* regcache.h (regcache_raw_write): Update declaration.
(regcache_raw_read): Update declaration.
(supply_register): Update declaration.
2002-07-24 19:43:43 +00:00
Tom Tromey
b4f5539f04
* defs.h (gdb_readline_wrapper): Declare.
...
* utils.c (prompt_for_continue): Use gdb_readline_wrapper.
* tracepoint.c (read_actions): Use gdb_readline_wrapper.
* top.c (gdb_readline_wrapper): New function.
(command_line_input): Use it.
2002-07-24 17:58:46 +00:00
Andrew Cagney
0818c12a55
2002-07-24 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (regcache_raw_read, regcache_raw_write): Replace
regcache_read and regcache_write.
(regcache_raw_read_as_address): Replace regcache_read_as_address.
* regcache.c: Update.
* sh-tdep.c (sh64_push_arguments): Update comment.
(sh_pseudo_register_read): Update.
(sh_pseudo_register_write): Update.
(sh4_register_read): Update.
(sh4_register_write): Update.
(sh64_pseudo_register_read): Update.
(sh64_pseudo_register_write): Update.
(sh64_register_read): Update.
(sh64_register_write): Update.
* i386-tdep.c (i386_extract_return_value): Update.
(i386_extract_struct_value_address): Update.
(i386_extract_return_value): Update.
* blockframe.c (generic_read_register_dummy): Update.
(generic_call_dummy_register_unwind): Update
* infrun.c (write_inferior_status_register): Update.
2002-07-24 14:38:55 +00:00
Jim Blandy
b8ae0f7e61
Remove stray conflict marker.
2002-07-24 03:05:07 +00:00
Jim Blandy
f7321c061e
* parser-defs.h (expression_context_pc): Make this extern.
...
(Thanks to Michael Snyder.)
2002-07-24 03:03:52 +00:00
gdbadmin
980d3eb0c2
*** empty log message ***
2002-07-24 00:00:02 +00:00
Andrew Cagney
2037aebbd7
Mention 5.2.1 on mainline.
2002-07-23 21:28:38 +00:00
Mark Salter
66504d44b9
Fix error check in remote_read_bytes
2002-07-23 18:55:06 +00:00
Kevin Buettner
27bae383c5
* aix-thread.c (language.h): Include.
...
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc):
Print newlines at end of debug messages.
(pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data)
(pdc_write_data): Use local_hex_string() instead of %llx formats.
2002-07-23 01:06:02 +00:00
Kevin Buettner
f1a91342e5
Don't rely on FIRST_UISA_SP_REGNUM or LAST_UISA_REGNUM.
2002-07-23 00:34:29 +00:00
gdbadmin
05f0e97831
*** empty log message ***
2002-07-23 00:00:02 +00:00
Kevin Buettner
206d3d3c1b
* aix-thread.c (ops): Rename to aix_thread_ops.
...
(base_ops): Rename to base_target.
(ops_attach): Rename to aix_thread_attach.
(ops_detach): Rename to aix_thread_detach.
(ops_resume): Rename to aix_thread_detach.
(ops_wait): Rename to aix_thread_wait.
(ops_kill): Rename to aix_thread_kill.
(init_ops): Rename to init_aix_thread_ops.
(ops_fetch_register): Rename to aix_thread_fetch_register.
(ops_store_register): Rename to aix_thread_store_register.
(ops_mourn_inferior): Rename to aix_thread_mourn_inferior.
(ops_thread_alive): Rename to aix_thread_thread_alive.
(ops_extra_thread_info: Rename to aix_thread_extra_thread_info.
(ops_pid_to_str): Rename to aix_thread_pid_to_str.
(ops_xfer_memory): Rename to aix_thread_xfer_memory.
(fetch_regs_lib): Rename to fetch_regs_user_thread.
(fetch_regs_kern): Rename to fetch_regs_kernel_thread.
(store_regs_lib): Rename to store_regs_user_thread.
(store_regs_kern): Rename to store_regs_kernel_thread.
2002-07-22 22:11:03 +00:00
Kevin Buettner
cbe92db47b
* aix-thread.c (ops_prepare_to_store): Eliminate.
...
(init_ops): Don't initialize ops.prepare_to_store.
(store_regs_kern): Pre-fetch register buffers from child,
because some registers may not be in the cache. Copy
regs from register cache only if they are cached.
(store_regs_lib): Copy regs from register cache only
if they are cached.
(fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32,
fill_gprs64): Ditto.
2002-07-22 19:56:07 +00:00
Kevin Buettner
61c5da0b4f
* aix-thread.c (gdb_assert.h): Include.
...
(fill_sprs64, fill_sprs32): Add selected asserts to make sure that
register sizes (from register cache) match size of buffer holding
register data.
(fill_sprs32): Change parameter types to match those in the ptrace()
buffer.
(store_regs_lib): Likewise, but for 32-bit temporary variables.
(ops_prepare_to_store): Rename loop variable ``i'' to ``regno''.
* aix-thread.c (supply_sprs64): Cosmetic change.
(supply_sprs32): Cosmetic change.
(fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs.
(fill_sprs64): Use regcache_collect instead of read_register.
(store_regs_lib): Use regcache_collect instead of
read_register. Use fill_sprs32 instead of fill_sprs64,
if debugging a 32-bit architecture.
(store_regs_kern): Use fill_gprs64 etc. to pull the values
out of the register cache, instead of passing a pointer into
the register cache directly to ptrace. Use regcache_collect
insteaad of read_register.
(ops_prepare_to_store): Use target_read_registers instead
of read_register_bytes.
2002-07-22 19:20:21 +00:00
gdbadmin
b587b9ef15
*** empty log message ***
2002-07-22 00:00:31 +00:00
gdbadmin
a3029400bd
*** empty log message ***
2002-07-21 00:00:32 +00:00
Aidan Skinner
36479eb14b
2002-07-20 Aidan Skinner <aidan@velvet.net>
...
* MAINTAINERS: Add self under write after approval.
2002-07-20 16:18:07 +00:00
Aidan Skinner
80ae6ee244
2002-07-20 Aidan Skinner <aidan@velvet.net>
...
* ada-tasks.c: Change k&r style function definitions to prototyped
form.
2002-07-20 16:08:49 +00:00
gdbadmin
886a9e7358
*** empty log message ***
2002-07-20 00:00:02 +00:00
Daniel Jacobowitz
46c0d5a66e
2002-07-19 Daniel Jacobowitz <drow@mvista.com>
...
* config/gdbserver.exp (gdb_load): Don't use TCL varargs.
Improve support for reusing an exec file. Copy exec file
to target, and run gdbserver on the target instead of on the host.
2002-07-19 19:40:28 +00:00
Andrew Cagney
8a8ab2b949
* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
...
* x86-64-tdep.c: Include "objfiles.h".
(x86_64_gdbarch_init): Set in_solib_call_trampoline to
in_plt_section. From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.
2002-07-19 18:22:14 +00:00
Michal Ludvig
fb16b90083
2002-07-17 Michal Ludvig <michal@suse.cz>
...
* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
(update_context): Initialise cfa variable.
2002-07-19 09:40:51 +00:00
Jim Blandy
0f815cdf7e
* gdb.base/ending-run.exp: Don't expect to see the program end in
...
some orderly fashion when we're running on a real stand-alone
board.
2002-07-19 00:02:34 +00:00
gdbadmin
08dcdf1c0c
*** empty log message ***
2002-07-19 00:00:32 +00:00
Jim Blandy
eecf4bedc4
* gdb.base/interrupt.exp: Correct logic for skipping tests on
...
targets that don't support interrupts.
2002-07-18 23:52:49 +00:00
Michael Snyder
0fe7bf7bb4
2002-07-17 Michael Snyder <msnyder@redhat.com>
...
* aix-thread.c: Shorten some long lines.
Bring comments into line with code spec.
2002-07-18 19:26:14 +00:00
Joel Brobecker
488f131ba0
* infrun.c: Re-indent using gdb_indent.sh.
2002-07-18 17:53:50 +00:00
Joel Brobecker
46c415d23a
* infrun.c (handle_inferior_event): Remove unneeded extra brace.
...
Leave the indentation temporarily untouched, to minimize the diffs.
2002-07-18 17:51:27 +00:00
Elena Zannoni
cdecafbee8
2002-07-18 Elena Zannoni <ezannoni@redhat.com>
...
* stabsread.c: Make os9k sections of the code obsolete,
for real this time.
* stabsread.h: Make os9k sections of the code obsolete.
2002-07-18 17:22:50 +00:00
Michal Ludvig
09ec9b38d6
2002-07-18 Michal Ludvig <mludvig@suse.cz>
...
* linux-low.c (regsets_store_inferior_registers): Add free()
at the end of a loop to prevent memory leak.
* linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers.
(X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.
2002-07-18 15:18:02 +00:00
Michal Ludvig
4894ac5dcf
* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h
2002-07-18 12:12:42 +00:00
Michal Ludvig
7b6aa020af
2002-07-18 Michal Ludvig <mludvig@suse.cz>
...
* config/sparc/tm-sp64linux.h: Make the rest of #endif
line a comment.
2002-07-18 10:10:49 +00:00
gdbadmin
876b22d88d
*** empty log message ***
2002-07-18 00:00:02 +00:00
Jim Blandy
233282cd3e
* macrocmd.c (info_macro_command): Remove newline from error
...
message.
2002-07-17 21:16:33 +00:00
Joern Rennecke
2f14585c74
include/gdb:
...
* sim-sh.h: Add enum constants for sh[1-4], sh3e, sh3?-dsp,
renumbering the sh-dsp registers to use distinct numbers.
sim/sh:
* Makefile.in (interp.o): Depend on $(srcroot)/include/gdb/sim-sh.h.
* interp.c: Include "gdb/sim-sh.h".
(sim_store_register, sim_fetch_register): Use constants defined there.
gdb:
* sh-tdep.c (sh_dsp_register_sim_regno): New function.
(sh_gdbarch_init): Use it for sh-dsp.
2002-07-17 18:43:28 +00:00
gdbadmin
8e007cd0fa
*** empty log message ***
2002-07-17 00:00:32 +00:00
Kevin Buettner
f7ef933922
* dwarf2read.c (read_initial_length): Handle older, non-standard,
...
64-bit DWARF2 format.
2002-07-16 21:00:43 +00:00
Joel Brobecker
8dd72958e0
* proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
...
<sys/proc.h> when not available.
2002-07-16 17:14:38 +00:00
Andrew Cagney
a99a9e1bc4
Obsolete i[3456]86-*-os9k.
2002-07-16 15:19:19 +00:00
Andrew Cagney
7a3085c168
Obsolete fr30.
2002-07-16 14:30:14 +00:00
Pierre Muller
28a93f5a7a
2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>
...
* blockframe.c (get_pc_function_start): return 0 if the minimal symbol
found is not inside a section.
2002-07-16 07:42:25 +00:00
Kevin Buettner
be006b8b64
* aix-thread.c (ptrace_check): Use safe_strerror() instead of
...
strerror().
(pdc_realloc): Use xrealloc() instead of realloc().
2002-07-16 00:22:45 +00:00
gdbadmin
5e319c0058
*** empty log message ***
2002-07-16 00:00:34 +00:00
Kevin Buettner
14fa37513d
* aix-thread.c (PD_ERROR, CALL_BASE): Delete.
...
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
(ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
macros.
2002-07-15 23:33:09 +00:00
Kevin Buettner
42cc437fb0
* aix-thread.c (ptrace_check): Eliminate goto.
...
(sync_threadlists): Eliminate gotos. Also, fix array overrun
problem.
2002-07-15 20:06:12 +00:00
Kevin Buettner
8e2c28d425
* aix-thread.c (gdbcmd.h): Include.
...
(DEBUG, DBG, DBG2, dbg): Eliminate.
(debug_aix_thread): New static global.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
(fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
invocations to DBG and DBG2 macros to test against
``debug_aix_thread'' and call fprintf_unfiltered().
(_initialize_aix_thread): Add new command "set debug aix-thread".
2002-07-15 18:55:04 +00:00
Andrew Cagney
30413464fd
From Gerhard Tonn <TON@de.ibm.com>:
...
* s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
instead of supply_register.
2002-07-15 16:50:51 +00:00
Andrew Cagney
7c43edc1d2
* dwarf2cfi.c: Include "gdb_assert.h".
...
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is
non-NULL.
(update_context): Do not use __func__. Add missing ``break''.
(update_context): Do not use __func__.
2002-07-15 16:01:31 +00:00
Elena Zannoni
9364a0ef8a
2002-07-15 Elena Zannoni <ezannoni@redhat.com>
...
* rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
and its setting. Set gdbarch instruction printing functions
directly. For non-rs6000 case use new function
gdb_print_insn_powerpc.
(gdb_print_insn_powerpc): New function.
2002-07-15 15:09:55 +00:00
gdbadmin
4ae1a66cff
*** empty log message ***
2002-07-15 00:00:32 +00:00
Andrew Cagney
92eb23c54a
Mention d30v obsolete in news file.
2002-07-14 00:28:46 +00:00
Andrew Cagney
3fbeef0be8
Obsolete the d30v.
2002-07-14 00:15:20 +00:00
gdbadmin
410eb242a4
*** empty log message ***
2002-07-14 00:00:02 +00:00
Aidan Skinner
aacb1f0a62
* ada-tasks.c (add_task_entry): replace calls to
...
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()
* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()
2002-07-13 12:25:16 +00:00
Kevin Buettner
c11d79f2b1
From Nicholas Duffek (with minor changes by Martin Hunt,
...
Louis Hamilton, and Kevin Buettner):
* aix-thread.c: New file.
2002-07-13 00:29:37 +00:00
gdbadmin
c1e188556f
*** empty log message ***
2002-07-13 00:00:02 +00:00
Petr Sorfa
8e19ed76b7
2002-07-12 Petr Sorfa <petrs@caldera.com>
...
* dwarf2read.c (dwarf2_invalid_attrib_class): New
complaint for invalid attribute class or form.
(read_func_scope): DW_AT_frame_base
better handling of DW_AT_block*.
(dwarf2_add_member_fn): DW_AT_vtable_elem_location
better handling of DW_AT_block*.
(read_common_block): DW_AT_location
better handling of DW_AT_block*.
(read_partial_die): DW_AT_location better handling
of DW_AT_block*.
(new_symbol): DW_AT_external better handling of
DW_AT_block*. Proper initialization of variable
"addr".
(attr_form_is_block): New function that returns true
if the attribute's form is of DW_FORM_block*.
2002-07-12 19:55:10 +00:00
Daniel Jacobowitz
295401f78c
2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
...
* valops.c (find_method_list): Remove comment about
removed STATIC_MEMFUNCP argument.
(value_find_oload_method_list): Likewise.
2002-07-12 19:15:30 +00:00
Kevin Buettner
e42dc924cb
From Nicholas Duffek:
...
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.
2002-07-12 18:42:05 +00:00
Kevin Buettner
6904b546a2
From Nicholas Duffek:
...
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
csect.
2002-07-12 18:30:15 +00:00