-Sat Apr 13 00:00:24 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
+Wed May 29 22:57:40 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
- * emul_netbsd.c (do_read): Correctly set the return value.
- (do_getpid): Ditto.
- (do_getuid): Ditto.
- (do_geteuid): Ditto.
- (do_dup): Ditto.
- (do_getegid): Ditto.
- (do_getgid): Ditto.
- (do_sigprocmask): Ditto.
- (do_umask): Ditto.
- (do_dup2): Ditto.
- (do_gettimeofday): Ditto.
- (do_getrusage): Ditto.
- (do_fstat): Ditto.
- (do_stat): Ditto.
- (do_lseek): Ditto.
- (do___sysctl): Ditto.
-
-Fri Apr 12 20:56:47 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
-
- * device_table.c (vm_ioctl_callback): Don't access the processor
- registers directly, instead leave it to the caller to handle this.
-
- * emul_netbsd.c (do_break): Which calls vm_ioctl_callback to
- perform a break. Pass in the new break value and set the
- registers according to the result.
-
- * emul_generic.c (emul_write_status): Change so that r3 contains
- either status or errno and failure is indicated by SO.
-
-Thu Apr 4 23:03:38 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
-
- * emul_bugapi.c (emul_bugapi_create): More strict check of OEA
- address.
+ * ChangeLog.00, ChangeLog: ChangeLog from gdb-4.16 becomes
+ ChangeLog.00
Thu Apr 4 15:17:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
Sun Mar 31 15:47:33 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
- * INSTALL: Update to reflect gdb-4.16.
+ * INSTALL: Update to reflect gdb-4.16.
- * RUN: Update to reflect gdb-4.16. Review notes on building a BSD
+ * RUN: Update to reflect gdb-4.16. Review notes on building a BSD
runtime environment.
-Fri Mar 29 12:17:58 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
-
- * emul_bugapi.c (_os_emul_data): Add fields for output, input.
- (emul_bugapi_create): Create input, output from /chosen/stdin and
- /chosen/stdout.
- (emul_bugapi_do_{read,write}): Switch to use device_instance
- interface.
- (emul_bugapi_instruction_call): Change calls to
- emul_bugapi_do_{read,write} to pass device instance argument.
-
-Tue Mar 26 14:57:58 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
- * igen.c (idecode_switch_end): Fix 2/26 change so that an extra
- default is not written out if a default was already written.
-
- * psim.c (psim_{read,write}_register): Use sizeof unsigned_8 to
- size cooked_buf, not sizeof natural_word, since floating point
- registers are 8 bytes.
-
-Thu Mar 21 00:06:09 1996 Andrew Cagney <cagney@kremvax.highland.com.au>
-
- * main.c (error): Be careful to not try to print out statistics
- when the simulation was never created.
+ * README: Point out copyright status of simulator in introduction.
Thu Mar 7 19:53:49 1996 Michael Meissner <meissner@cygnus.com>
* configure.in: Test for sys/mount.h.
* configure,config.in: Regenerate.
-Wed Feb 28 00:43:07 1996 Andrew Cagney - aka Noid <cagney@highland.com.au>
-
- * Makefile.in (corefile.o): missing dependency on device_table.h
- etc.
-
-Mon Feb 26 21:11:20 1996 Andrew Cagney - aka Noid <cagney@highland.com.au>
-
- * igen.c (idecode_switch_end): Output a default entry when the
- switch statement is perfect. Firstly stops GCC complaining about
- an incomplete switch and secondly it will be eliminated by a good
- compiler any way.
-
Thu Feb 22 22:48:57 1996 Andrew Cagney <cagney@highland.com.au>
* README, RUN, INSTALL: Update to reflect announcement
* sim_callbacks.h (flush_stdoutput): Declare.
Wed Feb 21 10:39:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
-
+
* emul_bugapi.c (bug_mapping): New structure to map bug system
call numbers to a string.
(toplevel): Add remaining bugapi system calls.
* emul_generic.c (emul_add_tree_hardware): Move hardware devices
to 0x80000000 from 0x400000.
-Mon Feb 19 23:52:31 1996 Andrew Cagney <cagney@highland.com.au>
-
- * config.in (HAVE_DIRENT_H): Temp until config.in regenerated.
-
Mon Feb 19 22:54:40 1996 Andrew Cagney <cagney@highland.com.au>
* ppc-instructions (TLB Invalidate Entry, TLB Invalidate ALL):
* device_table.c: For moment fake eeprom device by a memory
device. In future will need a proper eeprom device.
+Tue Feb 20 17:01:26 1996 J.T. Conklin <jtc@rtl.cygnus.com>
+
+ * config.in: Regenerated.
+
Fri Feb 16 10:42:27 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* psim.c: Include options.h so print_options is declared.
-
+
Thu Feb 15 18:10:13 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* emul_netbsd.c (toplevel): Do not include sys/resource.h if the
(do_getrusage): Define as 0 if we don't have getrusage.
Wed Feb 14 17:38:12 1996 J. T. Conklin <jtc@cygnus.com>
-
- * configure.in (AC_HEADER_DIRENT): Add, so that we can figure out
- where the directory functions are declared.
- * configure: Regenerate
-
- * emul_netbsd.c: Use the macros defined by configure to find the
- appropriate directory functions.
-
-Mon Feb 12 16:07:44 1996 Andrew Cagney <cagney@highland.com.au>
- * psim: PSIM-1.0 released
+ * configure.in (AC_HEADER_DIRENT): Add, so that we can figure out
+ where the directory functions are declared.
+ * configure: Regenerate
+
+ * emul_netbsd.c: Use the macros defined by configure to find the
+ appropriate directory functions.
Thu Feb 8 00:53:13 1996 Andrew Cagney <cagney@highland.com.au>
* psim-960119 released - psim-1.0b01.
-Fri Jan 19 00:32:27 1996 Andrew Cagney <cagney@highland.com.au>
+Fri Jan 19 00:32:27 1996 Andrew Cagney - aka Noid <cagney@highland.au.com>
* psim.c (psim_create): Re-order so that all options are set
before the CPU's are created. Was breaking mon_create();
* psim.c (psim_create): Tidy up conflicting configuration errors.
- * * (*): Adjust copyleft as required.
-
* debug.c: Add missing print-info entry to trace table.
* os_emul.c (os_emul_create): Fix `-e' option. Was looking under
(Shift Right Algerbraic Word): Ditto.
(Shift Right Algerbraic Word Immediate): Ditto.
-Wed Jan 17 21:47:34 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device.c (device_init_address): New. Split initialization into
- two stages, address and address spaces
- * device.c (device_init_data): New. ... and data or other work.
- With out this, devices try to modify memory before it as been
- attached.
-
- * device.c (device_tree_init): Update to perform staged
- initialization.
-
- * device.c (device_init): Delete.
-
-Wed Jan 17 21:43:09 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device_table.c (data_*): Rewrite to make heaver use of property
- nodes. Allow initialization by different data types.
- * device_table.c (htab_* pte_*): Rewrite to use properties.
-
- * emul_chirp.c (emul_chirp_create): Use
- * emul_bugapi.c (emul_bugapi_create): Ditto
- * emul_netbsd.c (emul_netbsd_create): Ditto
-
-Wed Jan 17 21:24:50 1996 Andrew Cagney <cagney@highland.com.au>
-
- * emul_generic.c (emul_add_tree_options): Annotate existing tree
- with options that haven't yet been specified.
- * emul_generic.c (emul_add_tree_hardware): Annotate existing tree
- with demo devices and properties.
-
- * emul_chirp.c (emul_chirp_create): Update to use new
- device_tree_add_parsed call and additional information now
- included in the device tree. Use emul_add_tree* functions to add
- any missing details.
- * emul_bugapi.c (emul_bugapi_create): Ditto
- * emul_netbsd.c (emul_netbsd_create): Ditto
-
-Wed Jan 17 21:18:27 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device.c (device_instance_create): New. Create/delete and
- operate on instances of a device.
- * device.c (device_instance_delete): Ditto
- * device.c (device_instance_read): Ditto
- * device.c (device_instance_write): Ditto
- * device.c (device_instance_seek): Ditto
- * device.c (device_instance_data): Ditto
- * device.c (device_instance_name): Ditto
- * device.c (device_instance_path): Ditto
-
- * emul_chirp.c (chirp_emul_open): Implement using device_instance.
- * emul_chirp.c (chirp_emul_close): Ditto
- * emul_chirp.c (chirp_emul_read): Ditto
- * emul_chirp.c (chirp_emul_write): Ditto
- * emul_chirp.c (chirp_emul_seek): Ditto
-
- * emul_chirp.c (chirp_read_t2h_args): Read arguments from device.
- Being careful to convert all from target to host byte order.
- * emul_chirp.c (chirp_write_h2t_args): Converse.
-
-Wed Jan 17 20:07:15 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device.c (device_tree_add_parsed): New. Rewrite code to add
- devices to the device tree so that a single printf style function
- is used.
-
- * device.c (device_tree_add_*): Delete. Replaced by above.
-
- * device.c (split_device_specifier): Functions to manipulate a
- device specifier (path) breaking it into its components
- * device.c (split_property_specifier): Ditto
- * device.c (split_device_name): Ditto
- * device.c (split_find_device): Ditto
-
- * device.c (scan_*): Delete
-
- * device.c (device_tree_find_device): Rewrite to use above.
- * device.c (device_add_property): Ditto
-
-Wed Jan 17 19:51:56 1996 Andrew Cagney <cagney@highland.com.au>
-
- * psim.c(psim_options): Parse the psim options, installing their
- value in the device tree. Options are now first entered into a
- device tree and then extracted out again when needed. This allows
- greater flexability in configuration.
-
- * psim.c (psim_tree): Returns a basic device tree ready for
- parsing by psim_options.
- * psim.c (psim_usage): New. Give usage to varing levels of detail
- according to the verbosity. In turn output device and trace
- usage.
-
- * main.c (main): Update to use new system
- * sim_calls.c (sim_open, sim_do_command): Ditto
-
- * psim.c (psim_options): Add `r' option - ram size.
- * psim.c (psim_options): Add `o' option - openboot tree entry.
- * psim.c (psim_options): Add `h'/`H' options - more help.
-
- * debug.c (trace_usage): Add more detailed help.
- * device.c (device_usage): New. Output help including a list of
- the devices currently available in the device table.
- * device_table.c: Add usage operator to each device.
-
- * corefile.c (core_create, core_device_create): Adjust so that the
- core device is created earlier for psim_tree(). Core can later be
- created from it.
-
- * psim.c (psim_create): Update to handle above way of creating
- things. Extract all information from the device tree.
-
- * device_tree.c (trace_*): New device node, its properties are
- used to set the value of the trace options. Init this device (in
- psim_options) when ever the options are updated.
-
-Wed Jan 17 19:46:07 1996 Andrew Cagney <cagney@highland.com.au>
-
- * debug.h: Add trace_print_info, trace_print_device_tree and
- trace_dump_device_tree. The first is a replacement for the
- variable `print_info' found in main.c and sim_calls.c. The latter
- two enable the dumping of the entire device tree.
-
- * debug.c: Add to trace_description table.
-
- * main.c (main): Use above trace instead of local variable
- * sim_calls.c (sim_close): Ditto
-
- * device.c (device_tree_print_device): New. Prints the device
- tree in a format that is consistent with what can be parsed by the
- device tree load from file code.
-
- * psim.c (psim_create): Dump device tree if enabled. If nump
- selected, exit psim immediatly.
-
-Wed Jan 17 19:36:52 1996 Andrew Cagney <cagney@highland.com.au>
-
- * corefile-n.h (core_map_read_N): When mapping from an address to
- a device, do not subtract the devices base. The device its self
- can do this. Brings the behavour into line with OpenBoot.
- * corefile-n.h (core_map_write_N): Ditto
- * corefile.c (core_map_read_buffer): Ditto
- * corefile.c (core_map_write_buffer): Ditto
-
- * device_table.c (console_io_read_buffer_callback): Adjust to
- handle biased address.
- * device_table.c (console_io_write_buffer_callback): Ditto
-
-Wed Jan 17 18:36:09 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device.c (attach_device_interrupt_edge): New. Interrupt model
- did not allow interrupts to be wired up as a general net (edges).
- Re-implement so that interrupt events can be passed to multiple
- controllers and interrupt controllers can further propogate
- interrupt events.
-
- * device.c (attach_device_interrupt_edge) : New, Ditto
- * device.c (detach_device_interrupt_edge) : New, Ditto
- * device.c (clean_device_interrupt_edges) : New, Ditto
- * device.c (device_interrupt_event) : New, Ditto
- * device.c (device_interrupt_attach) : New, Ditto
- * device.c (device_interrupt_detach) : New, Ditto
- * device.c (device_child_interrupt_attach) : New, Ditto
- * device.c (device_child_interrupt_detach) : New, Ditto
-
- * device.c (device_attach_interrupt) : Delete old
- * device.c (device_detach_interrupt) : Delete old
- * device.c (device_interrupt) : Delete old
- * device.c (device_interrupt_ack) : Delete old
-
- * device_table.c (unimp_*) : Update to match
-
- * device_table.c (icu_io_write_buffer_callback) : Update to use
- interface.
- * device_table.c (icu_interrupt_event_callback) : Ditto
-
-Wed Jan 17 18:18:40 1996 Andrew Cagney <cagney@highland.com.au>
-
- * device.c (external_to_device) : New function that provides a
- standard mapping between a devices internal representation (a
- pointer) and its external (or what is passed to a client)
- representation (a phandle). Implement using the cap object
- attached to the root node.
-
- * device.c (device_to_external) : Ditto
- * device.c (external_to_device_instance) : Ditto but for ihandle
- and device instance.
- * device.c (device_instance_to_external) : Ditto
-
- * Makefile (device.o): Add dependency on cap.
-
- * emul_chirp.c (struct _emul_chirp_data) : Elimate use of cap. Code
- needing to translate between internal and external representations
- changed to use the external_to_device et.al. device operations.
- * emul_chirp.c (chirp_emul_*) : Ditto
-
- * Makefile (emul_chirp.o): Remove dependency on cap
-
Tue Jan 9 15:10:27 1996 Andrew Cagney <cagney@highland.com.au>
* emul_bugapi.c (emul_bugapi_instruction_call) : Make format type
Mon Jan 8 12:17:22 1996 Michael Meissner <meissner@tiktok.cygnus.com>
- * device_table.c (register_init): Make format type correct.
-
-Sat Jan 6 10:13:26 1996 Andrew Cagney - aka Noid <cagney@highland.com.au>
-
- * emul_chirp.c (map_over_chirp_note): Tighten up (and fix) checks
- on OpenBoot note section.
-
-Fri Jan 5 20:28:53 1996 Andrew Cagney <cagney@hignland.com.au>
-
- * emul_generic.c (emul_write_buffer): Use vm faulting byte
- read/write calls for buffer transfers. This will cause a fault to
- occure if the transfer fails. CHRP catches the fault while the
- others suffer the consequences.
- (emul_read_buffer): Ditto.
- (emul_write_word): Ditto.
- (emul_read_word): Ditto.
- (emul_read_string): Ditto.
-
-Fri Jan 5 18:55:34 1996 Andrew Cagney <cagney@highland.com.au>
-
- * emul_chirp.c (emul_chirp_create, emul_chirp_instruction_call),
- emul_generic (emul_blr_instruction): Use a real blr instruction to
- return from a client service call.
-
- * emul_chirp.c (services): Add all OpenBoot services to table.
-
- * emul_generic.h, emul_bugapi.c (emul_bugapi_create), emul_chirp.c
- (emul_chirp_create) : Use names instead of numbers for
- instructions being stored in memory.
-
-Fri Jan 5 18:52:28 1996 Andrew Cagney <cagney@highland.com.au>
-
- * Makefile.in (maintainer-clean): Remove .log, core and *.core
- (From NetBSD) files.
+ * device_table.c (register_init): Make format type correct.
Wed Jan 3 19:21:46 1996 Andrew Cagney <cagney@highland.com.au>
* device.c (device_tree_find_node): Allow primative wild-card match
of device names with the path.
-Mon Dec 18 19:58:56 1995 Andrew Cagney - aka Noid <cagney@highland.com.au>
+ FIXME: As mentioned earlier, the device stuff needs work to bring
+ it into line with OpenBoot. Part of this work is rewriting the
+ find_node function so that it behaves as specified in p1275.
+
+Mon Dec 18 19:58:56 1995 Andrew Cagney <cagney@highland.com.au>
* emul_chrp.c (chirp_emul_write, chirp_emul_finddevice): add
better tracing.
__attribute__((__regparm(WITH_REGPARM))) for some functions.
configure with --enable-sim-cflags="-DWITH_REGPARAM=3" (say).
Unfortunatly it tickles a bug (gcc?) and can't be used.
-
-
Mon Dec 18 13:36:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* device.h: Ditto.
* interrupts.h: Ditto.
* interrupts.c: Ditto.
-
-Thu Dec 14 18:49:34 1995 Andrew Cagney <cagney@sawnoff>
+
+Thu Dec 14 18:49:34 1995 Andrew Cagney <cagney@highland.com.au>
* lf.c (lf_print_function_type): New function. Munges a function
type so that the prefix (eg INLINE...) is inserted after the type
* igen.c: Change to output functions using this.
-Wed Dec 13 23:47:00 1995 Andrew Cagney - aka Noid <cagney@highland.com.au>
+Wed Dec 13 23:47:00 1995 Andrew Cagney <cagney@highland.com.au>
+
+ FIXME: Emul CHIRP does not correctly implement the find device
+ function.
+
+ FIXME: Emul CHIRP and device do not implement device instance
+ operations.
+
+Wed Dec 13 23:47:00 1995 Andrew Cagney <cagney@highland.com.au>
* options.c (options_inline): Function to output meaningful
description of the INLINE options.
* std-config.h (EVENTS_INLINE): Inline events in psim.
-Wed Dec 13 22:01:21 1995 Andrew Cagney - aka Noid <cagney@highland.com.au>
+Wed Dec 13 22:01:21 1995 Andrew Cagney <cagney@highland.com.au>
* device_table.c (htab_sum_binary): DMA binaries to correct byte
within a page.
-Tue Dec 12 22:51:18 1995 Andrew Cagney - aka Noid <cagney@highland.com.au>
+Tue Dec 12 22:51:18 1995 Andrew Cagney <cagney@highland.com.au>
* psim.c (psim_merge_device_file): Change `=' to `==', was this an
error?
-Tue Dec 5 11:56:14 1995 Andrew Cagney <cagney@sawnoff>
+Tue Dec 5 11:56:14 1995 Andrew Cagney <cagney@highland.com.au>
* ppc-instructions (ppc_nr_mtcrf_crs, ppc_branch_conditional_name,
ppc_function_unit_name): Simplify by declaring these arrays as
when the new device (or property) doesn't already exist. This
allows merging of options and data.
-Mon Dec 4 17:12:13 1995 Andrew Cagney <cagney@sawnoff>
+Mon Dec 4 17:12:13 1995 Andrew Cagney <cagney@highland.com.au>
* Makefile.in (BASICS_H): Didn't include basics.h in the list of
header files to depend on.
-Mon Dec 4 17:12:13 1995 Andrew Cagney <cagney@sawnoff>
+Mon Dec 4 17:12:13 1995 Andrew Cagney <cagney@highland.com.au>
* std-config.h: (*_MODULE): Extend the <module>_inline macro's so
that they also allow control over static functions. Rewrite
* sim-endian.h,c (SIM_ENDIAN_INLINE) bits.h,c (BITS_INLINE):
Change to use the updated inline definitions. If enabled
- immediatly include the corresponding c-code so that it will inline
+ immediately include the corresponding c-code so that it will inline
for all modules.
* inline.h, inline.c (SIM_ENDIAN_INLINE, BITS_INLINE): Remove
on these instances - corresponds to ihandle in OpenBoot speak.
Don't yet implement it.
-Tue Nov 14 12:27:08 1995 Andrew Cagney <cagney@sawnoff>
+Tue Nov 14 12:27:08 1995 Andrew Cagney <cagney@highland.com.au>
* emul_generic.h, emul_generic.c (emul_syscall_enter,
emul_syscall_exit): rename from emul_enter_call /
parse trace options specified with the simpler -t flag. Adjust
usage.
+ * FIXME: basic parsing of command line options is still duplicated
+ by main.c and sim_calls.c
+
Thu Oct 26 10:42:28 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* Makefile.in (clean): Delete *.i and *.out files.